Update 00-aaa_dockerfile_backup.sh

This commit is contained in:
Alexandre
2021-12-08 13:23:29 +01:00
committed by GitHub
parent 6b3a2aad49
commit afbd5aa080

View File

@@ -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