aboutsummaryrefslogtreecommitdiffstats
path: root/community/salt/0001-alpine-support.patch
diff options
context:
space:
mode:
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 ac7d7db1d..01caefea0 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