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
1 changed files with 2 additions and 0 deletions

View File

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