[libarray-refelem-perl] 03/08: Don't try to remove /usr/share/perl5 if it doesn't exist. (Closes: #463556)

Christoph Biedl debian.axhn at manchmal.in-ulm.de
Thu Dec 15 20:24:29 UTC 2016


This is an automated email from the git hooks/post-receive script.

cbiedl-guest pushed a commit to branch master
in repository libarray-refelem-perl.

commit 1445756fe03f1d92b17019d9220ad0c8e156a651
Author: Niko Tyni <ntyni at debian.org>
Date:   Thu Apr 3 11:53:16 2008 +0300

    Don't try to remove /usr/share/perl5 if it doesn't exist. (Closes: #463556)
---
 debian/rules | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index a3b0b57..eebd677 100755
--- a/debian/rules
+++ b/debian/rules
@@ -53,7 +53,7 @@ install-stamp:
 	# As this is a architecture dependent package, we are not supposed to install
 	# stuff to /usr/share/perl5. MakeMaker creates the dirs, we delete them from 
 	# the deb:
-	rmdir --ignore-fail-on-non-empty --parents $(TMP)/usr/share/perl5
+	[ ! -d $(TMP)/usr/share/perl5 ] || rmdir --ignore-fail-on-non-empty --parents $(TMP)/usr/share/perl5
 	
 	touch install-stamp
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libarray-refelem-perl.git



More information about the Pkg-perl-cvs-commits mailing list