mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-12-29 10:26:12 +01:00
fix arch
This commit is contained in:
parent
5b1985e04a
commit
c9e6e87404
2 changed files with 4 additions and 0 deletions
|
@ -87,6 +87,8 @@ def install(slack_pkg):
|
||||||
arch = "noarch"
|
arch = "noarch"
|
||||||
elif "-x86_64-" in pkg:
|
elif "-x86_64-" in pkg:
|
||||||
arch = "x86_64"
|
arch = "x86_64"
|
||||||
|
elif "-i386-" in pkg:
|
||||||
|
arch = "i386"
|
||||||
elif "-i486-" in pkg:
|
elif "-i486-" in pkg:
|
||||||
arch = "i486"
|
arch = "i486"
|
||||||
elif "-i686-" in pkg:
|
elif "-i686-" in pkg:
|
||||||
|
|
|
@ -87,6 +87,8 @@ def patches():
|
||||||
arch = "noarch"
|
arch = "noarch"
|
||||||
elif "-x86_64-" in upgrade:
|
elif "-x86_64-" in upgrade:
|
||||||
arch = "x86_64"
|
arch = "x86_64"
|
||||||
|
elif "-i386-" in upgrade:
|
||||||
|
arch = "i386"
|
||||||
elif "-i486-" in upgrade:
|
elif "-i486-" in upgrade:
|
||||||
arch = "i486"
|
arch = "i486"
|
||||||
elif "-i686-" in upgrade:
|
elif "-i686-" in upgrade:
|
||||||
|
|
Loading…
Reference in a new issue