Automatic packages

This commit is contained in:
Alexandre
2021-12-08 11:28:42 +01:00
committed by GitHub
parent b6435680b5
commit a3dc160984

View File

@@ -6,12 +6,10 @@ if [ ! -f "/usr/bin/bashio" ]; then
################ ################
# Install apps # # Install apps #
################ ################
PACKAGES="${PACKAGES:="curl"}" cd /
curl -L -f -s "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/zzz_templates/automatic_packages.sh" --output automatic_packages.sh
apt-get clean \ chmod 777 automatic_packages.sh
&& apt-get update \ $(./automatic_packages.sh)
&& apt-get install -y --no-install-recommends ${PACKAGES} 2>/dev/null \
|| apk add --no-cache ${PACKAGES}
################### ###################
# Install bashio # # Install bashio #