X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=FS%2Fbin%2Ffreeside-addoutsource;h=9cb12195a73da4b4042a33f3bf1eafa9f1afe7d1;hp=8291c6434a8131a6aa1eb910c7a0c3a4374d7487;hb=ff27c3f36240aee48ed50153dd5d8fe3ac3f2443;hpb=7422aa77086326ba1e6032150ce5704d1003ea6f diff --git a/FS/bin/freeside-addoutsource b/FS/bin/freeside-addoutsource index 8291c6434..9cb12195a 100644 --- a/FS/bin/freeside-addoutsource +++ b/FS/bin/freeside-addoutsource @@ -3,6 +3,8 @@ domain=$1 FREESIDE_CONF=%%%FREESIDE_CONF%%% +FREESIDE_CACHE=%%%FREESIDE_CACHE%%% +FREESIDE_EXPORT=%%%FREESIDE_EXPORT%%% #without this, [a-z]* matches CVS/, the copy doesn't return a sucessful error # status, and the rest of the commands aren't run @@ -24,7 +26,7 @@ chmod 600 $FREESIDE_CONF/conf.DBI:Pg:dbname=$domain/secrets && \ \ echo -e "DBI:Pg:dbname=$domain\nfreeside\n" >$FREESIDE_CONF/conf.DBI:Pg:dbname=$domain/secrets && \ \ -mkdir $FREESIDE_CONF/counters.DBI:Pg:dbname=$domain && \ -mkdir $FREESIDE_CONF/cache.DBI:Pg:dbname=$domain && \ -mkdir $FREESIDE_CONF/export.DBI:Pg:dbname=$domain +mkdir $FREESIDE_CACHE/counters.DBI:Pg:dbname=$domain && \ +mkdir $FREESIDE_CACHE/cache.DBI:Pg:dbname=$domain && \ +mkdir $FREESIDE_EXPORT/export.DBI:Pg:dbname=$domain