Fixes purging config for jitsi-meet-prosody.

This commit is contained in:
Damian Minkov 2014-11-17 11:41:00 +02:00
parent 3239813ce7
commit 7475b3a66a
1 changed files with 10 additions and 1 deletions

View File

@ -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)
;;
*)