Update automatic_packages.sh

This commit is contained in:
Alexandre
2021-12-08 13:06:19 +01:00
committed by GitHub
parent 8ea5ad2594
commit 37f6b928c3

View File

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