Updates deb package scripts.
This commit is contained in:
parent
752e9b9284
commit
c06c1caad8
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
;;
|
||||
|
||||
*)
|
||||
|
|
|
@ -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)
|
||||
;;
|
||||
|
||||
*)
|
||||
|
|
Loading…
Reference in New Issue