Followup-For: Bug #767669
Control: tag -1 patch pending

Hi,

I just uploaded a NMU fixing this postinst issue to DELAYED/2 and will
ask for an unblock to get the fix into jessie.

The git repository is not up-to-date with last upload, otherwise I would
have provided git patches, too. So you only get the debdiff.


Andreas
diff -u typespeed-0.6.5/debian/changelog typespeed-0.6.5/debian/changelog
--- typespeed-0.6.5/debian/changelog
+++ typespeed-0.6.5/debian/changelog
@@ -1,3 +1,10 @@
+typespeed (0.6.5-2.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * postrm: Do not fail on removal of a missing directory.  (Closes: #767669)
+
+ -- Andreas Beckmann <a...@debian.org>  Mon, 01 Dec 2014 04:17:42 +0100
+
 typespeed (0.6.5-2) unstable; urgency=medium
 
   * Use autotools-dev to update config.{guess,sub} during build.
diff -u typespeed-0.6.5/debian/postrm typespeed-0.6.5/debian/postrm
--- typespeed-0.6.5/debian/postrm
+++ typespeed-0.6.5/debian/postrm
@@ -1,8 +1,11 @@
-#!/bin/sh -e
+#!/bin/sh
+set -e
 
 if test "$1" = "purge"; then
 	rm -f /var/games/typespeed/high.words.*
-	rmdir --ignore-fail-on-non-empty /var/games/typespeed
+	if [ -d /var/games/typespeed ]; then
+		rmdir --ignore-fail-on-non-empty /var/games/typespeed
+	fi
 	rm -f /var/games/typespeed.score
 fi
 

Reply via email to