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