r13255 - in /trunk/libaudio-flac-header-perl/debian: changelog rules

ntyni at users.alioth.debian.org ntyni at users.alioth.debian.org
Tue Jan 22 12:06:45 UTC 2008


Author: ntyni
Date: Tue Jan 22 12:06:43 2008
New Revision: 13255

URL: http://svn.debian.org/wsvn/?sc=1&rev=13255
Log:
* Only try to remove the empty /usr/share/perl5 directory if it exists.

Modified:
    trunk/libaudio-flac-header-perl/debian/changelog
    trunk/libaudio-flac-header-perl/debian/rules

Modified: trunk/libaudio-flac-header-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libaudio-flac-header-perl/debian/changelog?rev=13255&op=diff
==============================================================================
--- trunk/libaudio-flac-header-perl/debian/changelog (original)
+++ trunk/libaudio-flac-header-perl/debian/changelog Tue Jan 22 12:06:43 2008
@@ -6,6 +6,7 @@
   * Upgrade to Standards-Version 3.7.3. No changes needed.
   * Don't ignore the exit status of 'make realclean'.
   * Run the test suite when building the package.
+  * Only try to remove the empty /usr/share/perl5 directory if it exists.
 
  -- Niko Tyni <ntyni at debian.org>  Tue, 22 Jan 2008 13:18:45 +0200
 

Modified: trunk/libaudio-flac-header-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libaudio-flac-header-perl/debian/rules?rev=13255&op=diff
==============================================================================
--- trunk/libaudio-flac-header-perl/debian/rules (original)
+++ trunk/libaudio-flac-header-perl/debian/rules Tue Jan 22 12:06:43 2008
@@ -57,10 +57,8 @@
 	# Add here commands to install the package into debian/tmp.
 	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
 	
-	# As this is a architecture dependent package, we are not supposed to install
-	# stuff to /usr/share/perl5. MakeMaker creates the dirs, we delete them from 
-	# the deb:
-	rmdir --ignore-fail-on-non-empty --parents $(TMP)/usr/share/perl5
+	[ ! -d $(TMP)/usr/share/perl5 ] || \
+		rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/usr/share/perl5
 	
 	touch install-stamp
 




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