aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xshare/hoarder/tor-browser/unix/linux/install3
1 files changed, 2 insertions, 1 deletions
diff --git a/share/hoarder/tor-browser/unix/linux/install b/share/hoarder/tor-browser/unix/linux/install
index 4ee3b91..9443d6b 100755
--- a/share/hoarder/tor-browser/unix/linux/install
+++ b/share/hoarder/tor-browser/unix/linux/install
@@ -18,6 +18,7 @@ if echo $BASENAME | grep -q 'tor-browser-alpha'; then
APP="tor-browser-alpha"
else
APP="tor-browser"
+ FILE_SUFFIX="_ALL"
fi
# Determine architecture
@@ -52,7 +53,7 @@ fi
# Build the URL and filename strings
URL="${DIST}/${VERSION}/"
-FILE="tor-browser-${ARCH}-${VERSION}_ALL.tar.xz"
+FILE="tor-browser-${ARCH}-${VERSION}${FILE_SUFFIX}.tar.xz"
# Download
wget "$URL/$FILE" -O $WORK/$FILE || exit 1