8674cf7615
Remaining, to be handles separately: bbb-html5 before-remove and after-install -- sip.nginx needs to be handled in bbb-conf bbb-freeswitch-core -- /tmp/vars xml, etc. -- not sure how to handle
19 lines
349 B
Bash
Executable File
19 lines
349 B
Bash
Executable File
#!/bin/bash -e
|
|
|
|
case "$1" in
|
|
install|upgrade|1|2)
|
|
# 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
|
|
;;
|
|
|
|
abort-upgrade)
|
|
;;
|
|
|
|
*)
|
|
echo "preinst called with unknown argument \`$1'" >&2
|
|
exit 1
|
|
;;
|
|
esac
|
|
|