Skip to content

Commit

Permalink
Fixed update/-u
Browse files Browse the repository at this point in the history
  • Loading branch information
MrFlyingToasterman committed Oct 25, 2021
1 parent 8442d22 commit c953d9e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions get-waterfox
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#! /bin/bash

version="1.8"
version="1.9"

#Check if Parameters are set
if [ "$1" = "" ] || [ "$1" = "-h" ]; then
Expand Down Expand Up @@ -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/
Expand Down

0 comments on commit c953d9e

Please sign in to comment.