From 96addcc3682c06438a7812d7d537240b6028dccf Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Mon, 27 Nov 2023 15:00:46 -0300 Subject: Fix: hoarder: tor-browser: update file name scheme --- share/hoarder/tor-browser/unix/linux/install | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) (limited to 'share') 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 -- cgit v1.2.3