summaryrefslogtreecommitdiff
path: root/development
diff options
context:
space:
mode:
Diffstat (limited to 'development')
-rw-r--r--development/komodo-ide/komodo-ide.SlackBuild15
1 files changed, 10 insertions, 5 deletions
diff --git a/development/komodo-ide/komodo-ide.SlackBuild b/development/komodo-ide/komodo-ide.SlackBuild
index d99c551709..fd733366ac 100644
--- a/development/komodo-ide/komodo-ide.SlackBuild
+++ b/development/komodo-ide/komodo-ide.SlackBuild
@@ -33,14 +33,19 @@ PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ -z "$ARCH" ]; then
- ARCH=$( uname -m )
- case "$ARCH" in
- i?86) PKG_ARCH=x86 ;;
- x86_64) PKG_ARCH=x86_64 ;;
- *) echo "Architecture not supported"; exit 0;
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
esac
fi
+if [ "$ARCH" = "x86_64" ]; then
+ PKG_ARCH=x86_64
+else
+ PKG_ARCH=x86
+fi
+
set -e
rm -rf $PKG