As promised, I hope it is helpful :)
The part about the kernel check should be something I use at part: if [ "$i" = 
"50" ]
Note that part 50 doesn't actually remove the kernel images, but it uses 
aptitude -s (just simulation)


** Attachment added: "cleanupscript.sh"
   http://launchpadlibrarian.net/18976734/cleanupscript.sh

-- 
system-cleaner - should not offer or warn when removing one of the last two 
installed kernel versions
https://bugs.launchpad.net/bugs/285657
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to