]> git.saurik.com Git - apt.git/blobdiff - debian/apt.auto-removal.sh
refactor key removal code to reuse it in next step
[apt.git] / debian / apt.auto-removal.sh
index 0c515865831cf961d451dd5100640a4c7363d67c..c00416127a26e27f9e413dc24f895627937ecdab 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=""