From 37f6b928c3f2ea5c818b23d5341061b61fc9f77f Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Wed, 8 Dec 2021 13:06:19 +0100 Subject: [PATCH] Update automatic_packages.sh --- zzz_templates/automatic_packages.sh | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/zzz_templates/automatic_packages.sh b/zzz_templates/automatic_packages.sh index 382c501ea..4b7d9f059 100644 --- a/zzz_templates/automatic_packages.sh +++ b/zzz_templates/automatic_packages.sh @@ -63,5 +63,18 @@ if ls $files/*nginx* 1> /dev/null 2>&1; then fi done -# Create file containing all packages to install +#################### +# INSTALL ELEMENTS # +#################### + eval "$PACKAGES" + +################## +# INSTALL BASHIO # +################## + +mkdir -p /tmp/bashio +curl -L -f -s "https://github.com/hassio-addons/bashio/archive/v${BASHIO_VERSION}.tar.gz" | tar -xzf - --strip 1 -C /tmp/bashio +mv /tmp/bashio/lib /usr/lib/bashio +ln -s /usr/lib/bashio/bashio /usr/bin/bashio +rm -rf /tmp/bashio