Browse Source

Fixes purging config for jitsi-meet-prosody.

master
Damian Minkov 11 years ago
parent
commit
7475b3a66a
1 changed files with 10 additions and 1 deletions
  1. 10
    1
      debian/jitsi-meet-prosody.postrm

+ 10
- 1
debian/jitsi-meet-prosody.postrm View File

@@ -29,7 +29,16 @@ case "$1" in
29 29
         fi
30 30
     ;;
31 31
 
32
-    purge|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
32
+    purge)
33
+        db_get jitsi-meet/jvb-hostname
34
+        JVB_HOSTNAME=$RET
35
+        if [ -n "$RET" ]; then
36
+            rm -f /etc/prosody/conf.avail/$JVB_HOSTNAME.cfg.lua
37
+            rm -f /etc/prosody/conf.d/$JVB_HOSTNAME.cfg.lua
38
+        fi
39
+    ;;
40
+
41
+    upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
33 42
     ;;
34 43
 
35 44
     *)

Loading…
Cancel
Save