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