summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2004-02-01 09:29:00 +0000
committerivan <ivan>2004-02-01 09:29:00 +0000
commitbcfb7ea59538fb255ed672e9597164812cc8a996 (patch)
tree30a6048169c463a5174e42bcb13666d350b4ddeb
parentb8f1178763630f924dc3bac6ff9d4f6f81c343e7 (diff)
use install to make all components of FREESIDE_CONF dir
-rw-r--r--Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 1ac431c..a37c7e4 100644
--- a/Makefile
+++ b/Makefile
@@ -152,8 +152,7 @@ create-database:
create-config: install-perl-modules
[ -e ${FREESIDE_CONF} ] && mv ${FREESIDE_CONF} ${FREESIDE_CONF}.`date +%Y%m%d%H%M%S` || true
- mkdir ${FREESIDE_CONF}
- chown freeside ${FREESIDE_CONF}
+ install -d -o freeside ${FREESIDE_CONF}
touch ${FREESIDE_CONF}/secrets
chown freeside ${FREESIDE_CONF}/secrets