projects
/
fusionforge
/
fusionforge.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
project home
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
270c164
)
create config.ini.d if not exists
author
Christian Bayle
<cbayle@gmail.com>
Thu, 24 Feb 2011 20:35:49 +0000
(20:35 +0000)
committer
Christian Bayle
<cbayle@gmail.com>
Thu, 24 Feb 2011 20:35:49 +0000
(20:35 +0000)
src/fusionforge.spec
patch
|
blob
|
history
diff --git
a/src/fusionforge.spec
b/src/fusionforge.spec
index 440246f9307a127755c8b1322175a118ba1e7ed0..acffb9e2fbb34206aa9e64d437cbedd796ddb447 100644
(file)
--- a/
src/fusionforge.spec
+++ b/
src/fusionforge.spec
@@
-579,6
+579,9
@@
if [ "$1" -eq "1" ]; then
# ====================
# 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.