r11869 - in /trunk/libnet-easytcp-perl/debian: changelog rules

gregoa-guest at users.alioth.debian.org gregoa-guest at users.alioth.debian.org
Sun Dec 30 19:13:52 UTC 2007


Author: gregoa-guest
Date: Sun Dec 30 19:13:51 2007
New Revision: 11869

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

Modified:
    trunk/libnet-easytcp-perl/debian/changelog
    trunk/libnet-easytcp-perl/debian/rules

Modified: trunk/libnet-easytcp-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libnet-easytcp-perl/debian/changelog?rev=11869&op=diff
==============================================================================
--- trunk/libnet-easytcp-perl/debian/changelog (original)
+++ trunk/libnet-easytcp-perl/debian/changelog Sun Dec 30 19:13:51 2007
@@ -3,6 +3,8 @@
   * 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 (and only /usr/lib/perl5) only if it
+    exists.
 
  -- gregor herrmann <gregor+debian at comodo.priv.at>  Tue, 09 Oct 2007 22:30:58 +0200
 

Modified: trunk/libnet-easytcp-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libnet-easytcp-perl/debian/rules?rev=11869&op=diff
==============================================================================
--- trunk/libnet-easytcp-perl/debian/rules (original)
+++ trunk/libnet-easytcp-perl/debian/rules Sun Dec 30 19:13:51 2007
@@ -50,7 +50,7 @@
 	#$(MAKE) install DESTDIR=`pwd`/debian/tmp
 	$(MAKE) install PREFIX=$(TMP)/usr
 
-	-find $(TMP) -depth -type d | xargs rmdir 2>/dev/null
+	[ ! -d $(TMP)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents $(TMP)/usr/lib/perl5
 	 
 # Build architecture-dependent files here.
 binary-arch: build install




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