summaryrefslogtreecommitdiff
path: root/packaging/os/apk.py
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/os/apk.py')
-rw-r--r--packaging/os/apk.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/packaging/os/apk.py b/packaging/os/apk.py
index 120fc981..c867d116 100644
--- a/packaging/os/apk.py
+++ b/packaging/os/apk.py
@@ -212,6 +212,9 @@ def main():
supports_check_mode = True
)
+ # Set LANG env since we parse stdout
+ module.run_command_environ_update = dict(LANG='C', LC_ALL='C', LC_MESSAGES='C', LC_CTYPE='C')
+
global APK_PATH
APK_PATH = module.get_bin_path('apk', required=True)