Updates deb package scripts.

This commit is contained in:
Damian Minkov 2014-08-26 16:43:49 +03:00
parent 752e9b9284
commit c06c1caad8
3 changed files with 5 additions and 5 deletions

View File

@ -23,7 +23,7 @@ case "$1" in
. /etc/default/jitsi-videobridge
if [ -x /etc/prosody/prosody.cfg.lua ]; then
if [ -f /etc/prosody/prosody.cfg.lua ]; then
mv /etc/prosody/prosody.cfg.lua /etc/prosody/prosody.cfg.lua.orig
fi
gunzip -c /usr/share/doc/jitsi-meet-prosody/prosody.cfg.lua-jvb.example.gz > /etc/prosody/prosody.cfg.lua

View File

@ -23,13 +23,13 @@ set -e
case "$1" in
purge|remove)
remove)
if [ -x "/etc/init.d/prosody" ]; then
invoke-rc.d nginx reload
fi
;;
upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
purge|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
;;
*)

View File

@ -23,13 +23,13 @@ set -e
case "$1" in
purge|remove)
remove)
if [ -x "/etc/init.d/nginx" ]; then
invoke-rc.d nginx reload
fi
;;
upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
purge|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
;;
*)