[Pkg-nagios-changes] [pkg-nagios] r2045 - nagiosgrapher/trunk/debian

Alexander Reichle-Schmehl tolimar at alioth.debian.org
Fri Jun 8 15:07:39 UTC 2012


Author: tolimar
Date: 2012-06-08 15:07:39 +0000 (Fri, 08 Jun 2012)
New Revision: 2045

Modified:
   nagiosgrapher/trunk/debian/rules
Log:
Only move README if it exists (Fixes "fails to build twice in a row if clean is not run"



Modified: nagiosgrapher/trunk/debian/rules
===================================================================
--- nagiosgrapher/trunk/debian/rules	2012-06-08 15:01:00 UTC (rev 2044)
+++ nagiosgrapher/trunk/debian/rules	2012-06-08 15:07:39 UTC (rev 2045)
@@ -69,7 +69,7 @@
 		| xargs -0 chmod 0644 
 	chmod 0644 $(PKG_TMP)/usr/share/nagiosgrapher/debian/cfg/ngraph.d/nmgraph.ncfg
 	
-	mv README .README
+	[ ! -f README ] || mv README .README
 	rm -rf $(PKG_TMP)/var/run
 
 clean::




More information about the Pkg-nagios-changes mailing list