Remove old versions before linking react/js sdk

This commit is contained in:
David Baker 2017-05-26 22:37:44 +01:00
parent 3815872cf7
commit 96393f69b6

View file

@ -40,11 +40,13 @@ dodep matrix-org matrix-react-sdk
mkdir -p node_modules
cd node_modules
rm -r matrix-js-sdk 2> /dev/null
ln -s ../matrix-js-sdk ./
pushd matrix-js-sdk
npm install
popd
rm -r matrix-react-sdk 2> /dev/null
ln -s ../matrix-react-sdk ./
pushd matrix-react-sdk
mkdir -p node_modules