Browse Source

use \s instead of . for matching listener definition lines

tags/v2.0.0
Shivaram Lingamneni 4 years ago
parent
commit
c58e12fb58
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      Dockerfile

+ 2
- 2
Dockerfile View File

@@ -10,8 +10,8 @@ ADD . /go/src/github.com/oragono/oragono/
10 10
 
11 11
 # modify default config file so that it doesn't die on IPv6
12 12
 # and so it can be exposed via 6667 by default
13
-run sed -i 's/^\(.*\)\"127.0.0.1:6667\":.*$/\1":6667":/' /go/src/github.com/oragono/oragono/oragono.yaml
14
-run sed -i 's/^.*\"\[::1\]:6667\":.*$//' /go/src/github.com/oragono/oragono/oragono.yaml
13
+run sed -i 's/^\(\s*\)\"127.0.0.1:6667\":.*$/\1":6667":/' /go/src/github.com/oragono/oragono/oragono.yaml
14
+run sed -i 's/^\s*\"\[::1\]:6667\":.*$//' /go/src/github.com/oragono/oragono/oragono.yaml
15 15
 
16 16
 # make sure submodules are up-to-date
17 17
 RUN git submodule update --init

Loading…
Cancel
Save