bigbluebutton-Github/build/packages-template/bbb-html5/before-install.sh
2022-03-15 02:01:37 +00:00

15 lines
315 B
Bash
Executable File

#!/bin/bash -e
addGroup meteor ""
addUser meteor "" meteor /usr/share/meteor "meteor user-daemon" "/usr/sbin/nologin"
case "$1" in
install|upgrade|1|2)
if [ -f /usr/share/meteor/bundle/programs/server/node_modules ]; then
rm -r /usr/share/meteor/bundle/programs/server/node_modules
fi
;;
esac