mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-07-17 19:40:31 +02:00
Automatic packages
This commit is contained in:
@@ -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 #
|
||||||
|
|||||||
Reference in New Issue
Block a user