]> git.saurik.com Git - apt.git/blobdiff - debian/apt.auto-removal.sh
prepare-release: declare the packages needed as source build deps.
[apt.git] / debian / apt.auto-removal.sh
index 4ada56556cca2b9cc3e042e0fa5a1cc529f07b21..d105f440aa6f6601908c71ae35db247a00f8f70e 100644 (file)
@@ -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=""