tualatrix/ubuntu-tweak — pull request #8 by bruiselee (2012-09-29 16:02:25+00:00)
Title: fixing program crashed when cleaning old kernels

when rc version kernel is installed， oldkernel_plugin.py will crash in function _compare_kernel_version:
if int(c2) > int(p2):

reason: c2 or p2 might be format as "030500rc1"

so just change above line as:

if int(c2[:6]) > int(p2[:6]):