riot: verify npm download

This commit is contained in:
Marcus Hoffmann 2018-01-13 15:15:03 +01:00
parent f453f4a0d7
commit d061d205bc
No known key found for this signature in database
GPG key ID: ACDF63BC43D5E530

View file

@ -267,8 +267,9 @@ Build:0.7.08-dev,70800
subdir=vector
sudo=apt-get update && \
apt-get install -y -t jessie-backports nodejs nodejs-legacy && \
curl -LOJ https://github.com/npm/npm/archive/v5.6.0.tar.gz && \
tar xvzf npm-5.6.0.tar.gz && \
curl -Lo npm.tar.gz https://github.com/npm/npm/archive/v5.6.0.tar.gz && \
echo "1fe2ad002eaa4afff9d1ff1b401da19fdb59d770989a9b02771fb183c2131906e7a0ee930404fd8fdcb6d8b1f23368d9241587500483ad6beebbf00f7ff8070c npm.tar.gz" | sha512sum -c - && \
tar xzf npm.tar.gz && \
cd npm-5.6.0 && \
make install && \
npm install -g react-native-cli