mirror of
https://github.com/linuxserver/docker-cops.git
synced 2026-02-19 18:51:05 +08:00
Merge pull request #8 from CHBMB/master
Remove config_local.<username>.php at startup
This commit is contained in:
commit
edaa73da78
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user