Pārlūkot izejas kodu

Fixes prosody config extract.

master
Damian Minkov 10 gadus atpakaļ
vecāks
revīzija
02d283208b
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2
    2
      debian/jitsi-meet-prosody.postinst

+ 2
- 2
debian/jitsi-meet-prosody.postinst Parādīt failu

27
         # if there is no prosody config extract our template
27
         # if there is no prosody config extract our template
28
         if [ ! -f /etc/prosody/prosody.cfg.lua ]; then
28
         if [ ! -f /etc/prosody/prosody.cfg.lua ]; then
29
             PROSODY_CONFIG_PRESENT="false"
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
         fi
31
         fi
32
 
32
 
33
         # if there is no config for our domain, lets create it
33
         # if there is no config for our domain, lets create it
37
             if ! grep -q "VirtualHost \"jitmeet.example.com\"" /etc/prosody/prosody.cfg.lua; then
37
             if ! grep -q "VirtualHost \"jitmeet.example.com\"" /etc/prosody/prosody.cfg.lua; then
38
                 PROSODY_CONFIG_PRESENT="false"
38
                 PROSODY_CONFIG_PRESENT="false"
39
                 cp /etc/prosody/prosody.cfg.lua /etc/prosody/prosody.cfg.lua.orig
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
             fi
41
             fi
42
 
42
 
43
             if [ "PROSODY_CONFIG_PRESENT" = "true" ]; then
43
             if [ "PROSODY_CONFIG_PRESENT" = "true" ]; then

Notiek ielāde…
Atcelt
Saglabāt