Update 00-aaa_bashio

This commit is contained in:
Alexandre
2021-10-18 19:19:51 +02:00
committed by GitHub
parent 84a64ac99d
commit 5d6de42a76

View File

@@ -17,9 +17,10 @@ if [ ! -f "/usr/bin/bashio" ]; then
###################
# Install bashio #
##################
BASHIO_VERSION="0.13.1"
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
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