diff options
Diffstat (limited to 'development')
-rw-r--r-- | development/nwjs/nwjs.SlackBuild | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/development/nwjs/nwjs.SlackBuild b/development/nwjs/nwjs.SlackBuild index d8cd1db3ce..9e3855a923 100644 --- a/development/nwjs/nwjs.SlackBuild +++ b/development/nwjs/nwjs.SlackBuild @@ -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 |