Fixes purging config for jitsi-meet-prosody.

pull/195/head
Damian Minkov 10 years ago
parent 3239813ce7
commit 7475b3a66a
  1. 11
      debian/jitsi-meet-prosody.postrm

@ -29,7 +29,16 @@ case "$1" in
fi
;;
purge|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
purge)
db_get jitsi-meet/jvb-hostname
JVB_HOSTNAME=$RET
if [ -n "$RET" ]; then
rm -f /etc/prosody/conf.avail/$JVB_HOSTNAME.cfg.lua
rm -f /etc/prosody/conf.d/$JVB_HOSTNAME.cfg.lua
fi
;;
upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
;;
*)

Loading…
Cancel
Save