[Fai-commit] r6200 - trunk/debian

Michael Prokop mika at alioth.debian.org
Thu Nov 25 13:08:12 UTC 2010


Author: mika
Date: 2010-11-25 13:07:51 +0000 (Thu, 25 Nov 2010)
New Revision: 6200

Modified:
   trunk/debian/fai-nfsroot.postrm
Log:
fai-nfsroot.postrm: use rm with -f to not fail if /etc/init.d/rcS does not exist

Reported by Holger and Piuparts.

Acked-by: Thomas Lange <lange at informatik.uni-koeln.de>
Acked-by: Holger Levsen <holger at layer-acht.org>
Signed-off-by: Michael Prokop <mika at grml.org>



Modified: trunk/debian/fai-nfsroot.postrm
===================================================================
--- trunk/debian/fai-nfsroot.postrm	2010-11-25 11:52:00 UTC (rev 6199)
+++ trunk/debian/fai-nfsroot.postrm	2010-11-25 13:07:51 UTC (rev 6200)
@@ -2,7 +2,7 @@
 
 case "$1" in
     remove)
-	rm /etc/init.d/rcS
+	rm -f /etc/init.d/rcS
 	dpkg-divert --package fai-nfsroot --remove --rename /etc/init.d/rcS
 	;;
 




More information about the Fai-commit mailing list