Merge pull request #8 from CHBMB/master

Remove config_local.<username>.php at startup
This commit is contained in:
j0nnymoe 2016-10-24 13:27:29 +01:00 committed by GitHub
commit edaa73da78

View File

@ -8,6 +8,9 @@ mkdir -p \
[[ ! -e /var/www/localhost/cops ]] && \
ln -s /usr/share/webapps/cops /var/www/localhost/cops
# clear previous config
rm /var/www/localhost/cops/config_local.*.php
# copy config
[[ ! -e /config/config_local.php ]] && \
cp /defaults/config_local.php /config/config_local.php