diff options
author | David Spencer <idlemoor@slackbuilds.org> | 2017-08-03 15:51:55 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-08-05 07:07:32 +0700 |
commit | 38d3d5e413aabf3a565bb0442e6d73da8f4cb051 (patch) | |
tree | 22e51768efef4f8c50b80d59aa5a6db0f491327f /network/xdman/xdman.SlackBuild | |
parent | b5862a3b08a7ea8e430347d43a7321339b60f318 (diff) |
network/xdman: Allow i686.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'network/xdman/xdman.SlackBuild')
-rw-r--r-- | network/xdman/xdman.SlackBuild | 5 |
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 |