mirror of
https://github.com/linuxserver/docker-cops.git
synced 2026-04-06 00:00:04 +08:00
Fix whitespace replace
This commit is contained in:
parent
b5918a70c2
commit
f9f2820f90
@ -1,7 +1,7 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
|
||||
DEFAULT_CONF="/config/nginx/site-confs/default.conf"
|
||||
OLD_ROOT="root /var/www/localhost/cops;"
|
||||
OLD_ROOT="root\s*/var/www/localhost/cops;"
|
||||
NEW_ROOT="root /app/www/public;"
|
||||
|
||||
if grep -q "${OLD_ROOT}" "${DEFAULT_CONF}";then
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user