Parcourir la source

Fixes prosody config extract.

master
Damian Minkov il y a 11 ans
Parent
révision
02d283208b
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2
    2
      debian/jitsi-meet-prosody.postinst

+ 2
- 2
debian/jitsi-meet-prosody.postinst Voir le fichier

@@ -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

Chargement…
Annuler
Enregistrer