2021-08-13 18:53:18 +08:00
|
|
|
#!/bin/bash -e
|
|
|
|
|
|
|
|
case "$1" in
|
|
|
|
install|upgrade|1|2)
|
2021-10-09 04:20:44 +08:00
|
|
|
# there might be remaining files from older BBB versions
|
|
|
|
# BBB 2.3 and earlier did an npm rebuild in the after-install script.
|
|
|
|
rm -rf /usr/local/bigbluebutton/bbb-webrtc-sfu/node_modules
|
2021-08-13 18:53:18 +08:00
|
|
|
;;
|
|
|
|
|
|
|
|
abort-upgrade)
|
|
|
|
;;
|
|
|
|
|
|
|
|
*)
|
|
|
|
echo "preinst called with unknown argument \`$1'" >&2
|
|
|
|
exit 1
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
|