]> gitweb.fluxo.info Git - trashman.git/commitdiff
Fix: tor-browser: file suffix
authorSilvio Rhatto <rhatto@riseup.net>
Wed, 30 Aug 2023 17:15:22 +0000 (14:15 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Wed, 30 Aug 2023 17:15:22 +0000 (14:15 -0300)
share/hoarder/tor-browser/unix/linux/install

index 4ee3b91eeee1314c502cae17f94bb7172f97d2b3..9443d6b1108045d66a7ac3f4e7a95ce83c1f644f 100755 (executable)
@@ -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