diff options
Diffstat (limited to 'debian/apt.auto-removal.sh')
-rw-r--r-- | debian/apt.auto-removal.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/apt.auto-removal.sh b/debian/apt.auto-removal.sh index e7badaa83..db38958fa 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="" |