aboutsummaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
authorDavid Spencer <idlemoor@slackbuilds.org>2017-08-03 15:51:55 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-08-05 07:07:32 +0700
commit38d3d5e413aabf3a565bb0442e6d73da8f4cb051 (patch)
tree22e51768efef4f8c50b80d59aa5a6db0f491327f /network
parentb5862a3b08a7ea8e430347d43a7321339b60f318 (diff)
network/xdman: Allow i686.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'network')
-rw-r--r--network/xdman/xdman.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/network/xdman/xdman.SlackBuild b/network/xdman/xdman.SlackBuild
index e9d9c8b45c517..40d049358289c 100644
--- a/network/xdman/xdman.SlackBuild
+++ b/network/xdman/xdman.SlackBuild
@@ -63,10 +63,13 @@ mkdir -p $TMP $PKG $OUTPUT
rm -rf $TMP/$PRGNAM-$VERSION
cd $TMP
-if [ "$ARCH" = "i586" ]; then
+if [ "$ARCH" = "i586" ] || [ "$ARCH" = "i686" ]; then
tar xvf $CWD/$SRCNAM-x86.tar.xz
elif [ "$ARCH" = "x86_64" ]; then
tar xvf $CWD/$SRCNAM-x64.tar.xz
+else
+ echo "$ARCH is not supported."
+ exit 1
fi
mv $SRCNAM $PRGNAM-$VERSION