]> git.saurik.com Git - apt.git/commitdiff
debian/apt.postinst:
authorMichael Vogt <mvo@debian.org>
Tue, 23 Jul 2013 18:09:05 +0000 (20:09 +0200)
committerMichael Vogt <mvo@debian.org>
Tue, 23 Jul 2013 18:09:05 +0000 (20:09 +0200)
* debian/apt.postinst:
  - run /etc/kernel/postinst.d/apt-auto-removal once on upgrade
    to ensure that the correct auto-removal list is generated
    (closes: #717615)

debian/apt.postinst
debian/changelog

index bd814e1afd2794176a0c9201ec6435e93edbcbcd..9ff1e031c607cb56a5d02452b39d805608a51435 100644 (file)
@@ -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)
index acb27293fb2b7985f4cef733b6d6c45c5fe43ca4..119f09ec3d6b41abaadbd6f47a9e8b58d3cf8153 100644 (file)
@@ -4,6 +4,12 @@ apt (0.9.9.3) UNRELEASED; urgency=low
   * debian/apt.auto-removal.sh:
     - do not include debug symbol packages for the kernel in the 
       blacklist (closes: #717616)
+  
+  [ Michael Vogt ]
+  * debian/apt.postinst:
+    - run /etc/kernel/postinst.d/apt-auto-removal once on upgrade
+      to ensure that the correct auto-removal list is generated
+      (closes: #717615)
 
  -- Michael Vogt <mvo@debian.org>  Tue, 23 Jul 2013 19:54:31 +0200