Browse Source

fix: Fix broken postinst reported by @wsldankers.

j8
Boris Grozev 4 years ago
parent
commit
f6df76ab10
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      debian/jitsi-meet-prosody.postinst

+ 1
- 1
debian/jitsi-meet-prosody.postinst View File

156
 
156
 
157
         # Old versions of jitsi-meet-prosody come with the extra plugin path commented out (https://github.com/jitsi/jitsi-meet/commit/e11d4d3101e5228bf956a69a9e8da73d0aee7949)
157
         # Old versions of jitsi-meet-prosody come with the extra plugin path commented out (https://github.com/jitsi/jitsi-meet/commit/e11d4d3101e5228bf956a69a9e8da73d0aee7949)
158
         # Make sure it is uncommented, as it contains required modules.
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
             sed -i 's#--plugin_paths = { "/usr/share/jitsi-meet/prosody-plugins/" }#plugin_paths = { "/usr/share/jitsi-meet/prosody-plugins/" }#g' $PROSODY_HOST_CONFIG
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
             PROSODY_CONFIG_PRESENT="false"
161
             PROSODY_CONFIG_PRESENT="false"
162
         fi
162
         fi

Loading…
Cancel
Save