mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-31 04:44:05 +02:00
From curl to wget
This commit is contained in:
@@ -25,8 +25,7 @@ TOKEN=$(bashio::config 'secret_token')
|
|||||||
UPSTREAM=$(bashio::config 'upstream')
|
UPSTREAM=$(bashio::config 'upstream')
|
||||||
|
|
||||||
mv -f /data/joal/config.json / || true
|
mv -f /data/joal/config.json / || true
|
||||||
|
wget -O /tmp/joal.tar.gz "https://github.com/anthonyraymond/joal/releases/download/${UPSTREAM}/joal.tar.gz"
|
||||||
curl -L -o /tmp/joal.tar.gz "https://github.com/anthonyraymond/joal/releases/download/${UPSTREAM}/joal.tar.gz"
|
|
||||||
mkdir -p /data/joal
|
mkdir -p /data/joal
|
||||||
tar zxvf /tmp/joal.tar.gz -C /data/joal >/dev/null
|
tar zxvf /tmp/joal.tar.gz -C /data/joal >/dev/null
|
||||||
chown -R $(id -u):$(id -g) /data/joal
|
chown -R $(id -u):$(id -g) /data/joal
|
||||||
|
|||||||
Reference in New Issue
Block a user