]> gitweb.fluxo.info Git - trashman.git/commitdiff
Fix: hoarder: tor-browser: update file name scheme
authorSilvio Rhatto <rhatto@riseup.net>
Mon, 27 Nov 2023 18:00:46 +0000 (15:00 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Mon, 27 Nov 2023 18:00:46 +0000 (15:00 -0300)
share/hoarder/tor-browser/unix/linux/install

index 9e58b92515c08ff5018f33ae08df81687eabc5b5..70756045e4ec8bc3c85bd048c6dcdbd2b3870418 100755 (executable)
@@ -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