浏览代码

Fix for jitsi-meet-tokens

master
paweldomas 10 年前
父节点
当前提交
9406669aae
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      debian/jitsi-meet-tokens.postinst

+ 1
- 1
debian/jitsi-meet-tokens.postinst 查看文件

57
         db_stop
57
         db_stop
58
 
58
 
59
         if [ -f "$PROSODY_HOST_CONFIG" ] ; then
59
         if [ -f "$PROSODY_HOST_CONFIG" ] ; then
60
-            if grep -q "--plugin_paths" "$PROSODY_HOST_CONFIG"; then
60
+            if grep -q "plugin_paths" "$PROSODY_HOST_CONFIG"; then
61
                 # enable tokens in prosody host config
61
                 # enable tokens in prosody host config
62
                 sed -i "s/--plugin_paths/plugin_paths/g" $PROSODY_HOST_CONFIG
62
                 sed -i "s/--plugin_paths/plugin_paths/g" $PROSODY_HOST_CONFIG
63
                 sed -i 's/authentication = "anonymous"/authentication = "token"/g' $PROSODY_HOST_CONFIG
63
                 sed -i 's/authentication = "anonymous"/authentication = "token"/g' $PROSODY_HOST_CONFIG

正在加载...
取消
保存