diff --git a/emby/root/etc/cont-init.d/00-aaa_dockerfile_backup.sh b/emby/root/etc/cont-init.d/00-aaa_dockerfile_backup.sh index b95c5d2ab..dde571ac8 100644 --- a/emby/root/etc/cont-init.d/00-aaa_dockerfile_backup.sh +++ b/emby/root/etc/cont-init.d/00-aaa_dockerfile_backup.sh @@ -1,11 +1,12 @@ #!/bin/bash # If dockerfile failed install manually if [ ! -f "/usr/bin/bashio" ]; then - echo "Bashio does not exist, executing script" + echo "Executing script" ( ####################### # 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 chmod 777 /automatic_packages.sh eval /./automatic_packages.sh