From: Don Armstrong Date: Wed, 16 Jan 2008 23:10:57 +0000 (+0000) Subject: * Handle a non-existent /usr/lib/perl5 properly (for perl 5.10) X-Git-Tag: debian/1.19-2~6 X-Git-Url: https://git.donarmstrong.com/?p=deb_pkgs%2Flibhtml-calendarmonth-perl.git;a=commitdiff_plain;h=82fe977588e2a28b2e63d11f4d76ba94f704be80 * Handle a non-existent /usr/lib/perl5 properly (for perl 5.10) --- diff --git a/debian/changelog b/debian/changelog index 9387d79..7dcca9e 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +libhtml-calendarmonth-perl (1.18-4) unstable; urgency=low + + * Handle a non-existent /usr/lib/perl5 properly (for perl 5.10) + + -- Don Armstrong Wed, 16 Jan 2008 15:10:39 -0800 + libhtml-calendarmonth-perl (1.18-3) unstable; urgency=low * Disable the 20_i18n test of the basque locale which has been broken by diff --git a/debian/rules b/debian/rules index 13b11fe..5b5956a 100755 --- a/debian/rules +++ b/debian/rules @@ -37,7 +37,8 @@ install: build test dh_installdirs $(MAKE) install PREFIX=$(DESTDIR)/usr - rmdir -p $(DESTDIR)/usr/lib/perl5 || true + [ ! -d $(DESTDIR)/usr/lib/perl5 ] || \ + rmdir -p --ignore-fail-on-non-empty$(DESTDIR)/usr/lib/perl5 # Build architecture-independent files here. binary-indep: install