aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2023-08-30 14:15:22 -0300
committerSilvio Rhatto <rhatto@riseup.net>2023-08-30 14:15:22 -0300
commit4b39c7c36b2c0c07b42586a0e7bf7138196bb6c3 (patch)
tree7194b88fbbd0a7988a487e1efcdaa453334c1b51
parentba7b38d48e2eb378a91f6f1c315cf0658c74ee60 (diff)
downloadtrashman-4b39c7c36b2c0c07b42586a0e7bf7138196bb6c3.tar.gz
trashman-4b39c7c36b2c0c07b42586a0e7bf7138196bb6c3.tar.bz2
Fix: tor-browser: file suffix
-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