]> git.saurik.com Git - apt.git/blobdiff - debian/apt.auto-removal.sh
demote missing gtest to a buildtime warning
[apt.git] / debian / apt.auto-removal.sh
index 0c515865831cf961d451dd5100640a4c7363d67c..807c6f745b8b2d87bf0b2e5a90b7f27fc9cf8b94 100644 (file)
@@ -41,7 +41,7 @@ version_test_gt ()
        return "$?"
 }
 
-list="$(${DPKG} -l | awk '/^ii[ ]+(linux|kfreebsd|gnumach)-image-[0-9]*/ && $2 !~ /-dbg$/ { print $2 }' | sed -e 's#\(linux\|kfreebsd\|gnumach\)-image-##')"
+list="$(${DPKG} -l | awk '/^ii[ ]+(linux|kfreebsd|gnumach)-image-[0-9]+\./ && $2 !~ /-dbg$/ { print $2 }' | sed -e 's#\(linux\|kfreebsd\|gnumach\)-image-##')"
 
 latest_version=""
 previous_version=""