mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-25 10:03:03 +01:00
development/nwjs: Fixed arch handling.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
parent
58173a8e3c
commit
31e1f92985
1 changed files with 4 additions and 1 deletions
|
@ -41,10 +41,13 @@ TMP=${TMP:-/tmp/SBo}
|
|||
PKG=$TMP/package-$PRGNAM
|
||||
OUTPUT=${OUTPUT:-/tmp}
|
||||
|
||||
if [ "$ARCH" = "i586" ]; then
|
||||
if [ "$ARCH" = "i586" ] || [ "$ARCH" = "i686" ]; then
|
||||
SUFFIX="linux-ia32"
|
||||
elif [ "$ARCH" = "x86_64" ]; then
|
||||
SUFFIX="linux-x64"
|
||||
else
|
||||
echo "$ARCH is not supported." >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
set -e
|
||||
|
|
Loading…
Reference in a new issue