aboutsummaryrefslogtreecommitdiff
path: root/network/tor-browser
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-04-25 23:41:51 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-04-25 23:41:51 +0700
commit6a783bcd4848a464eea94ddb0827555cb6abf234 (patch)
tree4c2bf905604319b2c47a2af5884c72b11993a30c /network/tor-browser
parenteaf8abd2cd0c2c73fa7d1474b18f728fab044f86 (diff)
network/tor-browser: Fix build for i586.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/tor-browser')
-rw-r--r--network/tor-browser/tor-browser.SlackBuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/network/tor-browser/tor-browser.SlackBuild b/network/tor-browser/tor-browser.SlackBuild
index 66004f1b3c282..a624225a37a7c 100644
--- a/network/tor-browser/tor-browser.SlackBuild
+++ b/network/tor-browser/tor-browser.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for tor-browser
-# Copyright 2014-2023 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# Copyright 2014-2024 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -44,6 +44,10 @@ if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
exit 0
fi
+if [ $ARCH == "i586" ]; then
+ ARCH="i686"
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}