2021-08-13 18:53:18 +08:00
|
|
|
#!/bin/bash -e
|
|
|
|
|
|
|
|
case "$1" in
|
|
|
|
remove|failed-upgrade|abort-upgrade|abort-install|disappear|0|1)
|
|
|
|
|
|
|
|
if [ -L /etc/nginx/sites-enabled/bigbluebutton ]; then
|
|
|
|
rm /etc/nginx/sites-enabled/bigbluebutton
|
|
|
|
fi
|
2022-03-06 11:51:27 +08:00
|
|
|
rm -f /usr/share/bigbluebutton/nginx/bbb-html5.nginx
|
|
|
|
rm -f /usr/share/bigbluebutton/nginx/sip.nginx
|
2021-08-13 18:53:18 +08:00
|
|
|
|
|
|
|
;;
|
|
|
|
purge)
|
|
|
|
deleteUser meteor
|
|
|
|
deleteGroup meteor
|
|
|
|
;;
|
|
|
|
upgrade)
|
|
|
|
;;
|
|
|
|
*)
|
|
|
|
echo "postinst called with unknown argument $1" >&2
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
|