mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-12 02:21:28 +02:00
Update 00-aaa_dockerfile_backup.sh
This commit is contained in:
@@ -1,11 +1,12 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# If dockerfile failed install manually
|
# If dockerfile failed install manually
|
||||||
if [ ! -f "/usr/bin/bashio" ]; then
|
if [ ! -f "/usr/bin/bashio" ]; then
|
||||||
echo "Bashio does not exist, executing script"
|
echo "Executing script"
|
||||||
(
|
(
|
||||||
#######################
|
#######################
|
||||||
# Automatic installer #
|
# Automatic installer #
|
||||||
#######################
|
#######################
|
||||||
|
$(curl --help &>/dev/null) && (apt-get install -y --no-install-recommends curl || apk add --no-cache curl)
|
||||||
curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/zzz_templates/automatic_packages.sh" --output /automatic_packages.sh
|
curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/zzz_templates/automatic_packages.sh" --output /automatic_packages.sh
|
||||||
chmod 777 /automatic_packages.sh
|
chmod 777 /automatic_packages.sh
|
||||||
eval /./automatic_packages.sh
|
eval /./automatic_packages.sh
|
||||||
|
|||||||
Reference in New Issue
Block a user