[Fusionforge-commits] r12357 - trunk/src

Christian Bayle cbayle at fusionforge.org
Thu Feb 24 21:35:50 CET 2011


Author: cbayle
Date: 2011-02-24 21:35:49 +0100 (Thu, 24 Feb 2011)
New Revision: 12357

Modified:
   trunk/src/fusionforge.spec
Log:
create config.ini.d if not exists


Modified: trunk/src/fusionforge.spec
===================================================================
--- trunk/src/fusionforge.spec	2011-02-24 20:34:55 UTC (rev 12356)
+++ trunk/src/fusionforge.spec	2011-02-24 20:35:49 UTC (rev 12357)
@@ -579,6 +579,9 @@
 
 # ====================
 	# Installation from scratch, let's generate initial config files
+	if [ ! -e %{FORGE_CONF_DIR}/config.ini.d ] ; then 
+		mkdir -p %{FORGE_CONF_DIR}/config.ini.d
+	fi
 	if [ ! -e %{FORGE_CONF_DIR}/config.ini.d/rpm-install.ini ] ; then
 		cat > %{FORGE_CONF_DIR}/config.ini.d/rpm-install.ini <<EOF
 ; This file was generated by the RPM installation system.




More information about the Fusionforge-commits mailing list