r11919 - in /trunk/libtest-harness-perl/debian: changelog rules

gregoa-guest at users.alioth.debian.org gregoa-guest at users.alioth.debian.org
Wed Jan 2 17:51:22 UTC 2008


Author: gregoa-guest
Date: Wed Jan  2 17:51:21 2008
New Revision: 11919

URL: http://svn.debian.org/wsvn/?sc=1&rev=11919
Log:
debian/rules: remove /usr/lib/perl5 only if it exists.

Modified:
    trunk/libtest-harness-perl/debian/changelog
    trunk/libtest-harness-perl/debian/rules

Modified: trunk/libtest-harness-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libtest-harness-perl/debian/changelog?rev=11919&op=diff
==============================================================================
--- trunk/libtest-harness-perl/debian/changelog (original)
+++ trunk/libtest-harness-perl/debian/changelog Wed Jan  2 17:51:21 2008
@@ -1,6 +1,7 @@
 libtest-harness-perl (3.06-1) UNRELEASED; urgency=low
 
   * New upstream release.
+  * debian/rules: remove /usr/lib/perl5 only if it exists.
 
  -- gregor herrmann <gregor+debian at comodo.priv.at>  Wed, 02 Jan 2008 18:44:11 +0100
 

Modified: trunk/libtest-harness-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libtest-harness-perl/debian/rules?rev=11919&op=diff
==============================================================================
--- trunk/libtest-harness-perl/debian/rules (original)
+++ trunk/libtest-harness-perl/debian/rules Wed Jan  2 17:51:21 2008
@@ -49,7 +49,7 @@
 	# 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 $(TMP)/usr/lib/perl5
 	rm $(TMP)/usr/share/perl5/Test/HACKING.pod
 
 	dh_install -plibtest-harness-perl debian/tmp/*




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