On Sat, May 06, 2006 at 12:01:11AM +0200, Oskar Liljeblad wrote: > + if [ "$2" = "" ] || dpkg --compare-versions "$2" gt 1.0.7-12; then
This line makes no sense. The only version really containing the old directory is 1.0.7-10; however, a user with 1.0.7-11 or 1.0.7-12 could have upgraded from 1.0.7-10, so the cleanup would be needed there too. (Checking for upgrading from a version _greater_ than 1.0.7-12 just does not make any sense at all.) IOW, the check would have be on "between 1:1.0.7-10 and 1:1.0.7-12, inclusive" (don't forget the epoch). > if [ "$2" = "" ] || dpkg --compare-versions "$2" lt 1.0.7-10; then Seems like I forgot the epoch myself; this is a separate bug, however. /* Steinar */ -- Homepage: http://www.sesse.net/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]