check for empty .old file is not sufficient
I'm not sure how this happened, but after a manual reinstall of the linux package the /lib/modules/.old
file was generated with a single \n
character.
This was enough to pass the -s
check in linux-module-cleanup.script
, and in effect removed the /usr/lib/modules
when the script was run.