X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2Fbin%2Ffreeside-addoutsource;h=9cb12195a73da4b4042a33f3bf1eafa9f1afe7d1;hb=24235a2d5efcc0d6905cb54a1f25282800c47552;hp=8291c6434a8131a6aa1eb910c7a0c3a4374d7487;hpb=7422aa77086326ba1e6032150ce5704d1003ea6f;p=freeside.git diff --git a/FS/bin/freeside-addoutsource b/FS/bin/freeside-addoutsource old mode 100644 new mode 100755 index 8291c6434..9cb12195a --- 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