diff options
-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 e9d9c8b45c..40d0493582 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 |