Updates deb package scripts.
This commit is contained in:
parent
752e9b9284
commit
c06c1caad8
|
@ -23,7 +23,7 @@ case "$1" in
|
||||||
|
|
||||||
. /etc/default/jitsi-videobridge
|
. /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
|
mv /etc/prosody/prosody.cfg.lua /etc/prosody/prosody.cfg.lua.orig
|
||||||
fi
|
fi
|
||||||
gunzip -c /usr/share/doc/jitsi-meet-prosody/prosody.cfg.lua-jvb.example.gz > /etc/prosody/prosody.cfg.lua
|
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
|
case "$1" in
|
||||||
purge|remove)
|
remove)
|
||||||
if [ -x "/etc/init.d/prosody" ]; then
|
if [ -x "/etc/init.d/prosody" ]; then
|
||||||
invoke-rc.d nginx reload
|
invoke-rc.d nginx reload
|
||||||
fi
|
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
|
case "$1" in
|
||||||
purge|remove)
|
remove)
|
||||||
if [ -x "/etc/init.d/nginx" ]; then
|
if [ -x "/etc/init.d/nginx" ]; then
|
||||||
invoke-rc.d nginx reload
|
invoke-rc.d nginx reload
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
|
||||||
upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
|
purge|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
|
||||||
;;
|
;;
|
||||||
|
|
||||||
*)
|
*)
|
||||||
|
|
Loading…
Reference in New Issue