mirror of
https://github.com/ergochat/ergo.git
synced 2024-11-13 07:29:30 +01:00
use \s instead of . for matching listener definition lines
This commit is contained in:
parent
c38922005b
commit
c58e12fb58
@ -10,8 +10,8 @@ ADD . /go/src/github.com/oragono/oragono/
|
||||
|
||||
# modify default config file so that it doesn't die on IPv6
|
||||
# and so it can be exposed via 6667 by default
|
||||
run sed -i 's/^\(.*\)\"127.0.0.1:6667\":.*$/\1":6667":/' /go/src/github.com/oragono/oragono/oragono.yaml
|
||||
run sed -i 's/^.*\"\[::1\]:6667\":.*$//' /go/src/github.com/oragono/oragono/oragono.yaml
|
||||
run sed -i 's/^\(\s*\)\"127.0.0.1:6667\":.*$/\1":6667":/' /go/src/github.com/oragono/oragono/oragono.yaml
|
||||
run sed -i 's/^\s*\"\[::1\]:6667\":.*$//' /go/src/github.com/oragono/oragono/oragono.yaml
|
||||
|
||||
# make sure submodules are up-to-date
|
||||
RUN git submodule update --init
|
||||
|
Loading…
Reference in New Issue
Block a user