mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-28 18:26:04 +02:00
Show progress-bar
This commit is contained in:
@@ -18,9 +18,9 @@ fi
|
|||||||
# download latest version
|
# download latest version
|
||||||
|
|
||||||
if [ "$VERBOSE" = true ]; then
|
if [ "$VERBOSE" = true ]; then
|
||||||
curl -f -J -L -o /tmp/joal.tar.gz "$(curl -f -s https://api.github.com/repos/anthonyraymond/joal/releases/latest | grep -o "http.*joal.tar.gz")"
|
curl --progress-bar -f -J -L -o /tmp/joal.tar.gz "$(curl -f -s https://api.github.com/repos/anthonyraymond/joal/releases/latest | grep -o "http.*joal.tar.gz")"
|
||||||
else
|
else
|
||||||
curl -f -s -S -J -L -o /tmp/joal.tar.gz "$(curl -f -s https://api.github.com/repos/anthonyraymond/joal/releases/latest | grep -o "http.*joal.tar.gz")" >/dev/null
|
curl --progress-bar -f -S -J -L -o /tmp/joal.tar.gz "$(curl -f -s https://api.github.com/repos/anthonyraymond/joal/releases/latest | grep -o "http.*joal.tar.gz")" >/dev/null
|
||||||
fi
|
fi
|
||||||
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
|
||||||
|
|||||||
Reference in New Issue
Block a user