aboutsummaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2023-11-27 15:00:46 -0300
committerSilvio Rhatto <rhatto@riseup.net>2023-11-27 15:00:46 -0300
commit96addcc3682c06438a7812d7d537240b6028dccf (patch)
tree0d9bd4714c9786a40572ec29f401b6e1b3e756d8 /share
parentdaf4ccb4022e972b6c7439ddbaeec05044daee95 (diff)
downloadtrashman-96addcc3682c06438a7812d7d537240b6028dccf.tar.gz
trashman-96addcc3682c06438a7812d7d537240b6028dccf.tar.bz2
Fix: hoarder: tor-browser: update file name scheme
Diffstat (limited to 'share')
-rwxr-xr-xshare/hoarder/tor-browser/unix/linux/install16
1 files changed, 1 insertions, 15 deletions
diff --git a/share/hoarder/tor-browser/unix/linux/install b/share/hoarder/tor-browser/unix/linux/install
index 9e58b92..7075604 100755
--- a/share/hoarder/tor-browser/unix/linux/install
+++ b/share/hoarder/tor-browser/unix/linux/install
@@ -18,20 +18,6 @@ if echo $BASENAME | grep -q 'tor-browser-alpha'; then
APP="tor-browser-alpha"
else
APP="tor-browser"
- FILE_SUFFIX="_ALL"
-fi
-
-# Determine architecture and file suffix
-if [ "$ARCH" = "i386" ]; then
- ARCH="linux32"
-elif [ "$ARCH" = "i686" ]; then
- ARCH="linux32"
-elif [ "$ARCH" = "x86_64" ]; then
- if [ "$APP" = "tor-browser" ]; then
- ARCH="linux64"
- else
- ARCH="linux-x86_64"
- fi
fi
# Include basic functions
@@ -57,7 +43,7 @@ fi
# Build the URL and filename strings
URL="${DIST}/${VERSION}/"
-FILE="tor-browser-${ARCH}-${VERSION}${FILE_SUFFIX}.tar.xz"
+FILE="tor-browser-linux-${ARCH}-${VERSION}.tar.xz"
# Download
wget "$URL/$FILE" -O $WORK/$FILE || exit 1