소스 검색

Fixes prosody config extract.

master
Damian Minkov 10 년 전
부모
커밋
02d283208b
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2
    2
      debian/jitsi-meet-prosody.postinst

+ 2
- 2
debian/jitsi-meet-prosody.postinst 파일 보기

@@ -27,7 +27,7 @@ case "$1" in
27 27
         # if there is no prosody config extract our template
28 28
         if [ ! -f /etc/prosody/prosody.cfg.lua ]; then
29 29
             PROSODY_CONFIG_PRESENT="false"
30
-            gunzip -c /usr/share/doc/jitsi-meet-prosody/prosody.cfg.lua-jvb.example.gz /etc/prosody/prosody.cfg.lua
30
+            gunzip -c /usr/share/doc/jitsi-meet-prosody/prosody.cfg.lua-jvb.example.gz > /etc/prosody/prosody.cfg.lua
31 31
         fi
32 32
 
33 33
         # if there is no config for our domain, lets create it
@@ -37,7 +37,7 @@ case "$1" in
37 37
             if ! grep -q "VirtualHost \"jitmeet.example.com\"" /etc/prosody/prosody.cfg.lua; then
38 38
                 PROSODY_CONFIG_PRESENT="false"
39 39
                 cp /etc/prosody/prosody.cfg.lua /etc/prosody/prosody.cfg.lua.orig
40
-                gunzip -c /usr/share/doc/jitsi-meet-prosody/prosody.cfg.lua-jvb.example.gz /etc/prosody/prosody.cfg.lua
40
+                gunzip -c /usr/share/doc/jitsi-meet-prosody/prosody.cfg.lua-jvb.example.gz > /etc/prosody/prosody.cfg.lua
41 41
             fi
42 42
 
43 43
             if [ "PROSODY_CONFIG_PRESENT" = "true" ]; then

Loading…
취소
저장