From c953d9e1a0849d69d10f57fa8aece74c6d8f9452 Mon Sep 17 00:00:00 2001 From: Darius Musiolik Date: Mon, 25 Oct 2021 21:40:41 +0200 Subject: [PATCH] Fixed update/-u --- get-waterfox | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/get-waterfox b/get-waterfox index 19a7e9a..2c8d94d 100755 --- a/get-waterfox +++ b/get-waterfox @@ -1,6 +1,6 @@ #! /bin/bash -version="1.8" +version="1.9" #Check if Parameters are set if [ "$1" = "" ] || [ "$1" = "-h" ]; then @@ -208,7 +208,7 @@ if [ "$1" = "update" ] || [ "$1" = "-u" ]; then rm -rf /usr/share/waterfox-data/waterfox.tar.bz2 echo "[INFO] Downloading current Waterfox from waterfoxproject.org to /usr/share/waterfox-data" echo "[INFO] Please stand by ..." - wget $remoteversion -O /usr/share/waterfox-data/waterfox.tar.bz2 + wget https://cdn.waterfox.net/releases/linux64/installer/$remoteversion -O /usr/share/waterfox-data/waterfox.tar.bz2 echo "[ OK ] Download ready!" echo "[EXTRACTING] Please wait ..." tar -xf /usr/share/waterfox-data/waterfox.tar.bz2 -C /usr/share/waterfox/