r12286 - /trunk/librunapp-perl/debian/rules
dmn at users.alioth.debian.org
dmn at users.alioth.debian.org
Wed Jan 9 12:37:24 UTC 2008
Author: dmn
Date: Wed Jan 9 12:37:24 2008
New Revision: 12286
URL: http://svn.debian.org/wsvn/?sc=1&rev=12286
Log:
Remove usr/lib/perl5 only if it exists and do it verbosely
Modified:
trunk/librunapp-perl/debian/rules
Modified: trunk/librunapp-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/librunapp-perl/debian/rules?rev=12286&op=diff
==============================================================================
--- trunk/librunapp-perl/debian/rules (original)
+++ trunk/librunapp-perl/debian/rules Wed Jan 9 12:37:24 2008
@@ -51,7 +51,9 @@
# 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
+ [ ! -d $(TMP)/usr/lib/perl5 ] \
+ || rmdir --ignore-fail-on-non-empty --parents --verbose \
+ $(TMP)/usr/lib/perl5
touch install-stamp
More information about the Pkg-perl-cvs-commits
mailing list