[trusty,1/1] UBUNTU: [Config] linux-image-extra postrm is not needed on purge
diff mbox

Message ID 1412784937-16811-2-git-send-email-apw@canonical.com
State New
Headers show

Commit Message

Andy Whitcroft Oct. 8, 2014, 4:15 p.m. UTC
BugLink: http://bugs.launchpad.net/bugs/1375310
Signed-off-by: Andy Whitcroft <apw@canonical.com>
---
 debian/control-scripts/extra-post | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch
diff mbox

diff --git a/debian/control-scripts/extra-post b/debian/control-scripts/extra-post
index a0c78af..0d3f3ad 100644
--- a/debian/control-scripts/extra-post
+++ b/debian/control-scripts/extra-post
@@ -2,7 +2,7 @@ 
 set -e
 
 case "$0::$1" in
-*.postinst::configure|*.postrm::remove|*.postrm::purge)
+*.postinst::configure|*.postrm::remove)
 	depmod -a -F /boot/System.map-=V =V || true
 	for dir in "/etc/kernel/postinst.d" "/etc/kernel/postinst.d/=V"
 	do