summaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
authorfourtysixandtwo <fourtysixandtwo@sliderr.net>2022-03-18 20:45:58 -0600
committerB. Watson <urchlay@slackware.uk>2022-06-07 02:23:30 -0400
commit9aa4b4290871c3a2ba408c81f165ec67c4f42706 (patch)
tree30dad5e47d2cadd4f5790c2a23fda414f1ac9f7a /network
parentd3b90d1b10a27ea4130233b5fd778cbb0376aa4b (diff)
downloadslackbuilds-9aa4b4290871c3a2ba408c81f165ec67c4f42706.tar.gz
network/seahub: Change i486 to i586
Diffstat (limited to 'network')
-rw-r--r--network/seahub/seahub.SlackBuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/network/seahub/seahub.SlackBuild b/network/seahub/seahub.SlackBuild
index 453f9f14a9..847f145ef4 100644
--- a/network/seahub/seahub.SlackBuild
+++ b/network/seahub/seahub.SlackBuild
@@ -35,7 +35,7 @@ PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -53,7 +53,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ] || [ "$ARCH" = "i686" ]; then
+if [ "$ARCH" = "i586" ] || [ "$ARCH" = "i686" ]; then
+ #source is i386, do not change
SRCARCH="i386"
elif [ "$ARCH" = "x86_64" ]; then
SRCARCH="x86-64"