Bug#705039: tpu: routino/2.2-4+deb7u1
Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock
Please unblock package routino
Hi,
I'd like to NMU routino to t-p-u to get this postrm bug fixed for
wheezy (#656586):
* purge fails on removal of a no longer existing directory
* remove and purge repeat the same action - only do it during purge
sid already has a new upstream version.
Andreas
unblock routino/2.2-4+deb7u1
diffstat for routino-2.2 routino-2.2
changelog | 9 +++++++++
routino-www.postrm | 27 ++++-----------------------
2 files changed, 13 insertions(+), 23 deletions(-)
diff -Nru routino-2.2/debian/changelog routino-2.2/debian/changelog
--- routino-2.2/debian/changelog 2012-05-09 08:28:30.000000000 +0200
+++ routino-2.2/debian/changelog 2013-04-09 12:24:54.000000000 +0200
@@ -1,3 +1,12 @@
+routino (2.2-4+deb7u1) testing; urgency=low
+
+ * 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 <anbe@debian.org> Tue, 09 Apr 2013 12:09:30 +0200
+
routino (2.2-4) unstable; urgency=low
* routino-www: added OSM CycleMap to list of layers
diff -Nru routino-2.2/debian/routino-www.postrm routino-2.2/debian/routino-www.postrm
--- routino-2.2/debian/routino-www.postrm 2012-03-07 11:07:10.000000000 +0100
+++ routino-2.2/debian/routino-www.postrm 2013-04-09 12:15:25.000000000 +0200
@@ -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#
Reply to: