]> err.no Git - dpkg/commit
Fix failed install followed by failed remove resulting in installed state
authorBrian M. Carlson <sandals@crustytoothpaste.ath.cx>
Fri, 14 Sep 2007 05:24:56 +0000 (08:24 +0300)
committerGuillem Jover <guillem@debian.org>
Sat, 15 Sep 2007 03:37:47 +0000 (06:37 +0300)
commitca909d6711804e51f48415d31aa2fc630943cd03
tree5553102252b553618456aeb13367c61d437bd067
parent840db1577ff84427dd18abf1a90e2c713956fa43
Fix failed install followed by failed remove resulting in installed state

After '<prerm> remove' fails and while doing the error unwinding, if
the '<postinst> abort-remove' call succeeds, preserve the old status
instead of unconditionally setting it to 'Installed'.
ChangeLog
debian/changelog
src/cleanup.c
src/remove.c