From: ivan Date: Sun, 1 Feb 2004 09:29:01 +0000 (+0000) Subject: use install to make all components of FREESIDE_CONF dir X-Git-Tag: freeside_1_4_2beta1~274 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=925481ac20556604df4cc37f6d74a83be7cc3843;p=freeside.git use install to make all components of FREESIDE_CONF dir --- diff --git a/Makefile b/Makefile index c6def6f64..42c5773c2 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