Package: release.debian.org Severity: normal User: release.debian....@packages.debian.org Usertags: unblock
Hi, I'd like to fix routino-www's failure to purge via TPU. Again - I did this already for wheezy (2.2-4+deb7u1). The situation is the same as for wheezy: sid has a new upstream release which is RC buggy. The patch is also still the same :-) This would be the last non RC-buggy package in jessie that fails to purge. Trying to get the piuparts failure count down :-) Andreas PS: which version would be appropriate: 0.8-1.2 or 0.8-1.1+deb8u1?
diff -Nru routino-2.7/debian/changelog routino-2.7/debian/changelog --- routino-2.7/debian/changelog 2014-07-23 11:31:37.000000000 +0200 +++ routino-2.7/debian/changelog 2014-12-03 21:55:19.000000000 +0100 @@ -1,3 +1,12 @@ +routino (2.7-1.2) testing-proposed-updates; urgency=medium + + * Non-maintainer upload. + * routino-www.postrm: Don't fail on removal of a non-existing directory. + Don't repeat the same actions on remove and purge - only remove the + results directory during purge. (Closes: #656586) + + -- Andreas Beckmann <a...@debian.org> Wed, 03 Dec 2014 21:55:19 +0100 + routino (2.7-1.1) unstable; urgency=medium * Non-maintainer upload. diff -Nru routino-2.7/debian/routino-www.postrm routino-2.7/debian/routino-www.postrm --- routino-2.7/debian/routino-www.postrm 2012-03-07 11:07:10.000000000 +0100 +++ routino-2.7/debian/routino-www.postrm 2014-12-03 21:52:48.000000000 +0100 @@ -7,29 +7,10 @@ set -x fi -case "$1" in - purge) - rm -rf /var/lib/routino/results - rmdir --ignore-fail-on-non-empty /var/lib/routino/data - - ;; - remove) - rm -rf /var/lib/routino/results - rmdir --ignore-fail-on-non-empty /var/lib/routino/data - - ;; - - upgrade) - - ;; - - failed-upgrade|abort-install|abort-upgrade|disappear) - ;; - *) - echo "postrm called with unknown argument \`$1'" >&2 - exit 1 - -esac +if [ "$1" = "purge" ]; then + rm -rf /var/lib/routino/results + rmdir --ignore-fail-on-non-empty /var/lib/routino/data || true +fi #DEBHELPER#