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
# 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