[med-svn] r13766 - trunk/packages/python-cogent/trunk/debian

Andreas Tille tille at alioth.debian.org
Thu May 30 11:09:19 UTC 2013


Author: tille
Date: 2013-05-30 11:09:18 +0000 (Thu, 30 May 2013)
New Revision: 13766

Modified:
   trunk/packages/python-cogent/trunk/debian/changelog
   trunk/packages/python-cogent/trunk/debian/rules
Log:
Add -f option to rm statements to not fail if files to be remove do not exist


Modified: trunk/packages/python-cogent/trunk/debian/changelog
===================================================================
--- trunk/packages/python-cogent/trunk/debian/changelog	2013-05-30 08:45:53 UTC (rev 13765)
+++ trunk/packages/python-cogent/trunk/debian/changelog	2013-05-30 11:09:18 UTC (rev 13766)
@@ -1,3 +1,11 @@
+python-cogent (1.5.3-2) unstable; urgency=low
+
+  * debian/rules: Add -f option to rm statements to not fail if
+    files to be remove do not exist
+    Closes: #710339
+
+ -- Andreas Tille <tille at debian.org>  Thu, 30 May 2013 13:02:05 +0200
+
 python-cogent (1.5.3-1) unstable; urgency=low
 
   * New upstream

Modified: trunk/packages/python-cogent/trunk/debian/rules
===================================================================
--- trunk/packages/python-cogent/trunk/debian/rules	2013-05-30 08:45:53 UTC (rev 13765)
+++ trunk/packages/python-cogent/trunk/debian/rules	2013-05-30 11:09:18 UTC (rev 13766)
@@ -22,11 +22,11 @@
 	dh_auto_build
 	cd doc; $(MAKE) html
 	# remove superfluous files and dirs
-	rm doc/_build/doctrees/COGENT_LICENSE.doctree
-	rm doc/_build/html/_sources/COGENT_LICENSE.txt
-	rm doc/_build/html/_static/jquery.js
-	rm doc/_build/html/_static/underscore.js
-	rmdir doc/_build/html/_images/math/
+	rm -f doc/_build/doctrees/COGENT_LICENSE.doctree
+	rm -f doc/_build/html/_sources/COGENT_LICENSE.txt
+	rm -f doc/_build/html/_static/jquery.js
+	rm -f doc/_build/html/_static/underscore.js
+	rm -rf doc/_build/html/_images/math/
 
 override_dh_shlibdeps:
 	dh_shlibdeps




More information about the debian-med-commit mailing list