mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-08 00:25:55 +02:00
Update 00-aaa_dockerfile_backup.sh
This commit is contained in:
@@ -8,6 +8,7 @@ if [ -f "/ENV" ]; then
|
|||||||
#######################
|
#######################
|
||||||
# Automatic installer #
|
# Automatic installer #
|
||||||
#######################
|
#######################
|
||||||
|
$(ls /bin/bash &>/dev/null) || (apt-get install -y --no-install-recommends bash || apk add --no-cache bash) && \
|
||||||
$(curl --help &>/dev/null) || (apt-get install -y --no-install-recommends curl &>/dev/null || apk add --no-cache curl) && \
|
$(curl --help &>/dev/null) || (apt-get install -y --no-install-recommends curl &>/dev/null || 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 && \
|
||||||
|
|||||||
Reference in New Issue
Block a user