mirror of
https://github.com/linuxserver/docker-swag.git
synced 2024-12-24 06:49:41 -05:00
Don't match whole line in cli.ini search for agree-tos
This commit is contained in:
parent
d60847483d
commit
ab7c85e4de
@ -44,7 +44,7 @@ function set_ini_value() {
|
||||
|
||||
# ensure config files exist and has at least one value set (set_ini_value does not work on empty files)
|
||||
touch /config/etc/letsencrypt/cli.ini
|
||||
grep -qxF 'agree-tos' /config/etc/letsencrypt/cli.ini || echo 'agree-tos=true' >> /config/etc/letsencrypt/cli.ini
|
||||
grep -qF 'agree-tos' /config/etc/letsencrypt/cli.ini || echo 'agree-tos=true' >> /config/etc/letsencrypt/cli.ini
|
||||
|
||||
# copy dns default configs
|
||||
cp -n /defaults/dns-conf/* /config/dns-conf/
|
||||
|
Loading…
Reference in New Issue
Block a user