summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2018-12-04 11:50:21 +0000
committerJulian Andres Klode <jak@debian.org>2018-12-04 11:50:21 +0000
commitebee3db373dfe87e4d6746c4e4372481b6c6484d (patch)
tree547fbf4ffb1019e9317882e13d1f6839ef0655f5
parent14535446557cb8b4125e7badc5e67a9f7790ab53 (diff)
parentdf77fe33fccdb46c26e21feba23d76126ff0ecd6 (diff)
Merge branch 'u-u-env-utf8' into 'master'
Set LC_ALL=C.UTF-8 for unattended-upgrades environment when parsing its --help See merge request apt-team/apt!34
-rwxr-xr-xdebian/apt.systemd.daily2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/apt.systemd.daily b/debian/apt.systemd.daily
index b532bd151..c6fbca03f 100755
--- a/debian/apt.systemd.daily
+++ b/debian/apt.systemd.daily
@@ -470,7 +470,7 @@ if [ "$1" = "update" ] || [ -z "$1" ] ; then
debug_echo "download upgradable (not run)"
fi
- if which unattended-upgrade >/dev/null 2>&1 && unattended-upgrade --help | grep -q download-only && check_stamp $DOWNLOAD_UPGRADEABLE_STAMP $UnattendedUpgradeInterval; then
+ if which unattended-upgrade >/dev/null 2>&1 && env LC_ALL=C.UTF-8 unattended-upgrade --help | grep -q download-only && check_stamp $DOWNLOAD_UPGRADEABLE_STAMP $UnattendedUpgradeInterval; then
if unattended-upgrade --download-only $XUUPOPT; then
update_stamp $DOWNLOAD_UPGRADEABLE_STAMP
debug_echo "unattended-upgrade -d (success)"