diff options
author | Michael Vogt <michael.vogt@ubuntu.com> | 2012-12-13 09:14:45 +0100 |
---|---|---|
committer | Michael Vogt <michael.vogt@ubuntu.com> | 2012-12-13 09:14:45 +0100 |
commit | 8e604bec425dda28db6f541cc7e64e16989d89f6 (patch) | |
tree | d498a4d1027e19236282ef6f738626c12067c7e5 /debian/apt.postinst | |
parent | 0c58e5cb65cb10a2afe67f35ea7a2b23586c816c (diff) | |
parent | fb3ecf163485c428ebf863e65e60ec884e741ada (diff) |
merged from the debian-sid branch
Diffstat (limited to 'debian/apt.postinst')
-rw-r--r-- | debian/apt.postinst | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/debian/apt.postinst b/debian/apt.postinst index 4d87c4e25..bd814e1af 100644 --- a/debian/apt.postinst +++ b/debian/apt.postinst @@ -21,6 +21,13 @@ case "$1" in rm -f $SECRING fi apt-key update + + # ensure tighter permissons on the logs, see LP: #975199 + if dpkg --compare-versions "$2" lt-nl 0.9.7.7; then + # ensure permissions are right + chmod -f 0640 /var/log/apt/term.log* || true + fi + ;; abort-upgrade|abort-remove|abort-deconfigure) |