mirror of
https://github.com/YunoHost-Apps/restic_ynh.git
synced 2024-09-03 20:16:22 +02:00
Do not ouput wget download progress
It overloads the screen and lowers installation steps visibility
This commit is contained in:
parent
ef38087874
commit
5be4de9a39
1 changed files with 2 additions and 2 deletions
|
@ -28,8 +28,8 @@ install_restic () {
|
||||||
exit 1
|
exit 1
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
wget https://github.com/restic/restic/releases/download/v${RESTIC_VERSION}/restic_${RESTIC_VERSION}_linux_${arch}.bz2 -O /tmp/restic.bz2
|
wget https://github.com/restic/restic/releases/download/v${RESTIC_VERSION}/restic_${RESTIC_VERSION}_linux_${arch}.bz2 -O /tmp/restic.bz2 2>&1 >/dev/null
|
||||||
wget https://github.com/restic/restic/releases/download/v${RESTIC_VERSION}/SHA256SUMS -O /tmp/restic-sha256sums
|
wget https://github.com/restic/restic/releases/download/v${RESTIC_VERSION}/SHA256SUMS -O /tmp/restic-sha256sums 2>&1 >/dev/null
|
||||||
expected_sum=$(grep restic_${RESTIC_VERSION}_linux_${arch}.bz2 /tmp/restic-sha256sums | awk '{print $1}')
|
expected_sum=$(grep restic_${RESTIC_VERSION}_linux_${arch}.bz2 /tmp/restic-sha256sums | awk '{print $1}')
|
||||||
sum=$(sha256sum /tmp/restic.bz2 | awk '{print $1}')
|
sum=$(sha256sum /tmp/restic.bz2 | awk '{print $1}')
|
||||||
if [ "$sum" == "$expected_sum" ];then
|
if [ "$sum" == "$expected_sum" ];then
|
||||||
|
|
Loading…
Add table
Reference in a new issue