From afbd5aa080f98cfad879a1fadb41d116e3312918 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Wed, 8 Dec 2021 13:23:29 +0100 Subject: [PATCH] Update 00-aaa_dockerfile_backup.sh --- emby/root/etc/cont-init.d/00-aaa_dockerfile_backup.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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