From curl to wget

This commit is contained in:
Alexandre
2021-05-13 07:27:22 +02:00
committed by GitHub
parent 2a99aacb75
commit ebe35158f1

View File

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