[Lunar-commits] CVS: moonbase/kernel/chpax BUILD,1.1,1.2

Niki Guldbrand niki at lunar-linux.org
Tue Jan 20 15:27:40 GMT 2004


Update of /var/cvs/lunar/moonbase/kernel/chpax
In directory dbguin.lunar-linux.org:/tmp/cvs-serv19548

Modified Files:
	BUILD 
Log Message:
No need to overwrite the config if its allready there...


Index: BUILD
===================================================================
RCS file: /var/cvs/lunar/moonbase/kernel/chpax/BUILD,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- BUILD	20 Jan 2004 14:43:29 -0000	1.1
+++ BUILD	20 Jan 2004 15:27:38 -0000	1.2
@@ -3,7 +3,13 @@
   prepare_install                      &&
   make install                         &&
   cp $SOURCE_CACHE/$SOURCE2 /sbin/     &&
-  cp $SOURCE_CACHE/$SOURCE3 /etc/      &&
+
+  if [ -e /etc/$SOURCE3 ]; then
+    echo "Config file installation skipped..."
+  else
+    cp $SOURCE_CACHE/$SOURCE3 /etc/
+  fi
+
   chmod 700 /sbin/chpax /sbin/chpax.sh &&
   chmod 600 /etc/chpax.cfg
   



More information about the Lunar-commits mailing list