Ignore failure of rmdir -- this used to work, but now the directory
authorMike Taylor <mike@miketaylor.org.uk>
Fri, 6 Nov 2009 12:30:20 +0000 (12:30 +0000)
committerMike Taylor <mike@miketaylor.org.uk>
Fri, 6 Nov 2009 12:30:20 +0000 (12:30 +0000)
it's trying to remove is not there, and since I don't understand what
it was meant to be there for in the first place I am just going to let
is slide.

debian/rules

index 0fc28d6..7c09fb8 100755 (executable)
@@ -51,7 +51,7 @@ install-stamp:
        # As this is a architecture independent package, we are not
        # supposed to install stuff to /usr/lib. MakeMaker creates
        # the dirs, we delete them from the deb:
-       rmdir --ignore-fail-on-non-empty --parents $(TMP)/usr/lib/perl5
+       rmdir --ignore-fail-on-non-empty --parents $(TMP)/usr/lib/perl5 || :
 
        touch install-stamp