Allow No Env

This commit is contained in:
Alexandre
2021-12-10 21:22:55 +01:00
parent 9687a41b3b
commit 9f37bc821a
7 changed files with 7 additions and 7 deletions

View File

@@ -33,7 +33,7 @@ RUN $(ls /bin/bash &>/dev/null) || (apt-get install -y --no-install-recommends b
$(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 && \
/automatic_packages.sh "$PACKAGES" && \
/automatic_packages.sh "${PACKAGES:-}" && \
rm /automatic_packages.sh || printf '%s\n' "${PACKAGES:-}" > /ENVFILE
##############