summaryrefslogtreecommitdiff
path: root/debian/apt.auto-removal.sh
diff options
context:
space:
mode:
authorMichael Vogt <mvo@debian.org>2013-07-23 19:55:14 +0200
committerMichael Vogt <mvo@debian.org>2013-07-23 19:55:14 +0200
commitc1f8f8c0b070b52e7d85ed932418bc3497cc7990 (patch)
tree9c91447b4300ab7a32b2dc641d86c2fbb1e7b144 /debian/apt.auto-removal.sh
parentc7120bc4f8931463c497b9f4e63553cd306bf100 (diff)
debian/apt.auto-removal.sh:
* debian/apt.auto-removal.sh: - do not include debug symbol packages for the kernel in the blacklist (closes: #717616)
Diffstat (limited to 'debian/apt.auto-removal.sh')
-rw-r--r--debian/apt.auto-removal.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/apt.auto-removal.sh b/debian/apt.auto-removal.sh
index 4ada56556..d105f440a 100644
--- a/debian/apt.auto-removal.sh
+++ b/debian/apt.auto-removal.sh
@@ -42,7 +42,7 @@ version_test_gt ()
return "$?"
}
-list=$(${DPKG} -l 'linux-image-[0-9]*'|awk '/^ii/ { print $2 }' | sed -e's/linux-image-//')
+list=$(${DPKG} -l 'linux-image-[0-9]*'|awk '/^ii/ && $2 !~ /-dbg$/ { print $2 }' | sed -e's/linux-image-//')
latest_version=""
previous_version=""