aboutsummaryrefslogtreecommitdiffstats
path: root/community/salt/0001-alpine-support.patch
diff options
context:
space:
mode:
authorOlivier Mauras <olivier@mauras.ch>2016-10-11 23:37:22 +0200
committerJakub Jirutka <jakub@jirutka.cz>2016-10-12 02:33:03 +0200
commitb6b16b1809d8c72f3525463faed52094908ec5c4 (patch)
tree46de2443ba9e9554fd4f5143784e7f167236ab75 /community/salt/0001-alpine-support.patch
parent6cc664d9ecf9d44b02dfcf66ee680c5b42a124c8 (diff)
downloadaports-b6b16b1809d8c72f3525463faed52094908ec5c4.tar.bz2
aports-b6b16b1809d8c72f3525463faed52094908ec5c4.tar.xz
community/salt: fix pkg.latest_version error in alpine-support
Diffstat (limited to 'community/salt/0001-alpine-support.patch')
-rw-r--r--community/salt/0001-alpine-support.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/community/salt/0001-alpine-support.patch b/community/salt/0001-alpine-support.patch
index ac7d7db1d6..01caefea00 100644
--- a/community/salt/0001-alpine-support.patch
+++ b/community/salt/0001-alpine-support.patch
@@ -2,7 +2,7 @@ Upstream code not yet released
---
diff --git a/salt/modules/apk.py b/salt/modules/apk.py
new file mode 100644
-index 0000000..c44b3a7
+index 0000000..4c0efe0
--- /dev/null
+++ b/salt/modules/apk.py
@@ -0,0 +1,619 @@
@@ -210,7 +210,7 @@ index 0000000..c44b3a7
+ newversion = line.split(' ')[5].strip(')')
+ if name in names:
+ ret[name] = newversion
-+ except ValueError:
++ except (ValueError, IndexError):
+ pass
+
+ # If version is empty, package may not be installed