Skip to content
Snippets Groups Projects
Commit 6ceae4db authored by Anton Georgiev's avatar Anton Georgiev
Browse files

check for correct directory before deploying bbb-html5

parent 28a9b827
No related branches found
No related tags found
No related merge requests found
......@@ -2,14 +2,17 @@
# Please check bigbluebutton/bigbluebutton-html5/dev_local_deployment/README.md
echo " start "
pwd
UPPER_DESTINATION_DIR=/usr/share/meteor
DESTINATION_DIR=$UPPER_DESTINATION_DIR/bundle
SERVICE_FILES_DIR=/usr/lib/systemd/system
LOCAL_PACKAGING_DIR=/home/bigbluebutton/dev/bigbluebutton/bigbluebutton-html5/dev_local_deployment
if [ ! -d "$LOCAL_PACKAGING_DIR" ]; then
echo "Did not find LOCAL_PACKAGING_DIR=$LOCAL_PACKAGING_DIR"
exit
fi
sudo rm -rf "$UPPER_DESTINATION_DIR"
sudo mkdir -p "$UPPER_DESTINATION_DIR"
sudo chown -R meteor:meteor "$UPPER_DESTINATION_DIR"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment