Add missing parameter to yq command

This commit is contained in:
Tulir Asokan 2022-01-07 16:17:47 +02:00
parent 26c1d6571c
commit a1a00ff655

View file

@ -21,7 +21,7 @@ function fixconfig {
fixdefault '.plugin_directories.db' './dbs' '/data/dbs' fixdefault '.plugin_directories.db' './dbs' '/data/dbs'
fixdefault '.logging.handlers.file.filename' './maubot.log' '/var/log/maubot.log' fixdefault '.logging.handlers.file.filename' './maubot.log' '/var/log/maubot.log'
# This doesn't need to be configurable # This doesn't need to be configurable
yq e -i '.server.override_resource_path = "/opt/maubot/frontend"' yq e -i '.server.override_resource_path = "/opt/maubot/frontend"' /data/config.yaml
} }
cd /opt/maubot cd /opt/maubot