| [vhffs-dev] [svn] commit: r199 - /trunk/Makefile | 
[ Thread Index | 
Date Index
| More vhffs.org/vhffs-dev Archives
] 
Author: soda
Date: Fri May 12 02:04:25 2006
New Revision: 199
Log:
fix vhffs.conf installation, does not overwrite existing config file
Modified:
    trunk/Makefile
Modified: trunk/Makefile
==============================================================================
--- trunk/Makefile (original)
+++ trunk/Makefile Fri May 12 02:04:25 2006
@@ -99,7 +99,7 @@
 
 install-conf:
 	install -d -m 755 $(CONFDIR)
-	install -m 644 vhffs-backend/conf/vhffs.conf $(CONFDIR)/
+	if [ ! -f $(CONFDIR)/vhffs.conf ]; then echo "INSTALL ORIGINAL CONFIG FILE" ; install -m 644 vhffs-backend/conf/vhffs.conf $(CONFDIR)/ ; else echo "CONFIG FILE ALREADY EXISTS" ; fi
 
 install-backend:
 	install -d -m 755 $(BACKENDDIR)