r11858 - in /trunk/libmarc-charset-perl/debian: changelog rules

gregoa-guest at users.alioth.debian.org gregoa-guest at users.alioth.debian.org
Sun Dec 30 18:23:00 UTC 2007


Author: gregoa-guest
Date: Sun Dec 30 18:23:00 2007
New Revision: 11858

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

Modified:
    trunk/libmarc-charset-perl/debian/changelog
    trunk/libmarc-charset-perl/debian/rules

Modified: trunk/libmarc-charset-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libmarc-charset-perl/debian/changelog?rev=11858&op=diff
==============================================================================
--- trunk/libmarc-charset-perl/debian/changelog (original)
+++ trunk/libmarc-charset-perl/debian/changelog Sun Dec 30 18:23:00 2007
@@ -3,6 +3,7 @@
   * debian/control: Added: Vcs-Svn field (source stanza); Vcs-Browser
     field (source stanza); Homepage field (source stanza). Removed: XS-
     Vcs-Svn fields.
+  * debian/rules: Remove /usr/lib/perl5 only if it exists.
 
  -- gregor herrmann <gregor+debian at comodo.priv.at>  Tue, 09 Oct 2007 22:30:18 +0200
 

Modified: trunk/libmarc-charset-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libmarc-charset-perl/debian/rules?rev=11858&op=diff
==============================================================================
--- trunk/libmarc-charset-perl/debian/rules (original)
+++ trunk/libmarc-charset-perl/debian/rules Sun Dec 30 18:23:00 2007
@@ -52,7 +52,7 @@
 
 	# The perl modules are architecture-independent, so they go in
 	# /usr/share. Remove the empty /usr/lib/perl5 created by MakeMaker.
-	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
 
 	touch install-stamp
 




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