From c9e6e87404859853469516eec01ff0cefd760eff Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Tue, 26 Aug 2014 03:29:05 +0300 Subject: [PATCH] fix arch --- slpkg/slack/install.py | 2 ++ slpkg/slack/patches.py | 2 ++ 2 files changed, 4 insertions(+) diff --git a/slpkg/slack/install.py b/slpkg/slack/install.py index 89b586da..73a4b9f1 100755 --- a/slpkg/slack/install.py +++ b/slpkg/slack/install.py @@ -87,6 +87,8 @@ def install(slack_pkg): arch = "noarch" elif "-x86_64-" in pkg: arch = "x86_64" + elif "-i386-" in pkg: + arch = "i386" elif "-i486-" in pkg: arch = "i486" elif "-i686-" in pkg: diff --git a/slpkg/slack/patches.py b/slpkg/slack/patches.py index 742b5b28..50d2c8ec 100755 --- a/slpkg/slack/patches.py +++ b/slpkg/slack/patches.py @@ -87,6 +87,8 @@ def patches(): arch = "noarch" elif "-x86_64-" in upgrade: arch = "x86_64" + elif "-i386-" in upgrade: + arch = "i386" elif "-i486-" in upgrade: arch = "i486" elif "-i686-" in upgrade: