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 #
################
PACKAGES="${PACKAGES:="curl"}"
apt-get clean \
&& apt-get update \
&& apt-get install -y --no-install-recommends ${PACKAGES} 2>/dev/null \
|| apk add --no-cache ${PACKAGES}
cd /
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)
###################
# Install bashio #