bigbluebutton-Github/build/packages-template/bbb-html5/after-remove.sh
2021-11-03 16:19:32 +00:00

22 lines
373 B
Bash
Executable File

#!/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
;;
purge)
deleteUser meteor
deleteGroup meteor
;;
upgrade)
;;
*)
echo "postinst called with unknown argument $1" >&2
;;
esac