network/xdman: Allow i686.

Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
David Spencer 2017-08-03 15:51:55 +01:00 committed by Willy Sudiarto Raharjo
parent b5862a3b08
commit 38d3d5e413

View file

@ -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