X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/a17482f89b636a52aacc57776bfc8041cf4da508..d2b7b1300c7567b4c9d9b057d5077e66a9ba18b6:/debian/apt.auto-removal.sh diff --git a/debian/apt.auto-removal.sh b/debian/apt.auto-removal.sh index c00416127..807c6f745 100644 --- a/debian/apt.auto-removal.sh +++ b/debian/apt.auto-removal.sh @@ -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=""