From: Mike Taylor Date: Fri, 19 Feb 2010 15:09:55 +0000 (+0000) Subject: Do not fail if the directory $(TMP)/usr/share/perl5 has not been X-Git-Tag: CPAN_1_26~16 X-Git-Url: http://git.indexdata.com/?p=ZOOM-Perl-moved-to-github.git;a=commitdiff_plain;h=51a60d62f86b19a9ad60c524347e3640ee2f59d4 Do not fail if the directory $(TMP)/usr/share/perl5 has not been needlessly created. Failure to delete it is not catastrophic :-) --- diff --git a/debian/rules b/debian/rules index 3e37596..33f4db1 100755 --- a/debian/rules +++ b/debian/rules @@ -59,8 +59,8 @@ 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 + # the dirs, we delete them from the deb if they exist + rmdir --ignore-fail-on-non-empty --parents $(TMP)/usr/share/perl5 || : touch install-stamp