4 # parameter: $1: base dir for copy (optional)
6 mkdir -p $1/opt/kivitendo-erp
7 rsync -a --exclude=".git" Downloads/kivitendo-erp/ $1/opt/kivitendo-erp/
9 # provide WTG default config file
10 cp kivitendo/kivitendo.conf.default $1/opt/kivitendo-erp/config/
13 mkdir -p $1/etc/apache2/sites-available
14 mkdir -p $1/etc/apache2/sites-enabled
15 cp kivitendo/kivitendo.conf $1/etc/apache2/sites-available
16 cd $1/etc/apache2/sites-enabled && ln -sf ../sites-available/kivitendo.conf .