summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"