From: Mike Taylor Date: Tue, 3 Mar 2009 22:47:34 +0000 (+0000) Subject: Ignore failure of rmdir. X-Git-Tag: CPAN.1.12~16 X-Git-Url: http://git.indexdata.com/?p=simpleserver-moved-to-github.git;a=commitdiff_plain;h=a5eb90c4024c87aad2aac3b33fe975c0b14f15a3 Ignore failure of rmdir. --- diff --git a/debian/rules b/debian/rules index a809b3a..f558a14 100755 --- a/debian/rules +++ b/debian/rules @@ -60,7 +60,11 @@ install-stamp: # As this is a architecture dependent package, we are not # supposed to install stuff to /usr/share. MakeMaker creates # the dirs, we delete them from the deb: - rmdir --ignore-fail-on-non-empty --parents $(TMP)/usr/share/perl5 + + # For some reason, the next line doesn't work properly under + # Ubuntu 5.10. No time to figure it out, we'll just use -f + # instead for now. + rmdir --ignore-fail-on-non-empty --parents $(TMP)/usr/share/perl5 || echo "Ignoring rmdir failure" touch install-stamp