Ver código fonte

fix: Fix broken postinst reported by @wsldankers.

j8
Boris Grozev 4 anos atrás
pai
commit
f6df76ab10
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1
    1
      debian/jitsi-meet-prosody.postinst

+ 1
- 1
debian/jitsi-meet-prosody.postinst Ver arquivo

@@ -156,7 +156,7 @@ case "$1" in
156 156
 
157 157
         # Old versions of jitsi-meet-prosody come with the extra plugin path commented out (https://github.com/jitsi/jitsi-meet/commit/e11d4d3101e5228bf956a69a9e8da73d0aee7949)
158 158
         # Make sure it is uncommented, as it contains required modules.
159
-        if grep -q '--plugin_paths = { "/usr/share/jitsi-meet/prosody-plugins/" }' ;then
159
+        if grep -q -- '--plugin_paths = { "/usr/share/jitsi-meet/prosody-plugins/" }' $PROSODY_HOST_CONFIG ;then
160 160
             sed -i 's#--plugin_paths = { "/usr/share/jitsi-meet/prosody-plugins/" }#plugin_paths = { "/usr/share/jitsi-meet/prosody-plugins/" }#g' $PROSODY_HOST_CONFIG
161 161
             PROSODY_CONFIG_PRESENT="false"
162 162
         fi

Carregando…
Cancelar
Salvar