#!/bin/bash
#get BinauralMeet
rm -rf /usr/share/BinauralMeet/*
cd /usr/share/BinauralMeet
curl --output bm.tgz https://binaural.me/public_packages/bm.tgz
tar zxf bm.tgz
mv ./build/* .
rm config.js
curl --output config.js https://binaural.me/public_packages/uploader/vr/vr_config.js

#get roomInfo
cd /usr/share/BinauralMeet
mkdir roomInfo
cd roomInfo
curl --output roomInfo.tgz https://binaural.me/public_packages/roomInfo.tgz
tar zxf roomInfo.tgz
mv ./build/* .
rm config.js
curl --output config.js https://binaural.me/public_packages/uploader/vr/vr_config.js
