r12056 - in /trunk/libole-storage-lite-perl/debian: changelog rules

dmn at users.alioth.debian.org dmn at users.alioth.debian.org
Sat Jan 5 14:17:49 UTC 2008


Author: dmn
Date: Sat Jan  5 14:17:49 2008
New Revision: 12056

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

Modified:
    trunk/libole-storage-lite-perl/debian/changelog
    trunk/libole-storage-lite-perl/debian/rules

Modified: trunk/libole-storage-lite-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libole-storage-lite-perl/debian/changelog?rev=12056&op=diff
==============================================================================
--- trunk/libole-storage-lite-perl/debian/changelog (original)
+++ trunk/libole-storage-lite-perl/debian/changelog Sat Jan  5 14:17:49 2008
@@ -19,6 +19,7 @@
 
   [ Damyan Ivanov ]
   * touch $@ instead of *-stamp
+  * remove usr/lib/perl5 only if it exists and remove it verbosely
 
  -- gregor herrmann <gregor+debian at comodo.priv.at>  Mon, 17 Dec 2007 22:28:38 +0100
 

Modified: trunk/libole-storage-lite-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libole-storage-lite-perl/debian/rules?rev=12056&op=diff
==============================================================================
--- trunk/libole-storage-lite-perl/debian/rules (original)
+++ trunk/libole-storage-lite-perl/debian/rules Sat Jan  5 14:17:49 2008
@@ -33,7 +33,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 $(debtmp)/usr/lib/perl5
+	[ ! -d $(debtmp)/usr/lib/perl5 ] \
+	    || rmdir --ignore-fail-on-non-empty --parents --verbose \
+	    	$(debtmp)/usr/lib/perl5
 	touch $@
 
 binary-indep: build install




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