HCoop
/
ntk
/
apt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
debian/apt.postinst:
[ntk/apt.git]
/
debian
/
apt.postinst
diff --git
a/debian/apt.postinst
b/debian/apt.postinst
index
bd814e1
..
9ff1e03
100644
(file)
--- a/
debian/apt.postinst
+++ b/
debian/apt.postinst
@@
-28,6
+28,10
@@
case "$1" in
chmod -f 0640 /var/log/apt/term.log* || true
fi
+ # create kernel autoremoval blacklist on update
+ if dpkg --compare-versions "$2" lt-nl 0.9.9.3; then
+ /etc/kernel/postinst.d/apt-auto-removal
+ fi
;;
abort-upgrade|abort-remove|abort-deconfigure)