From d061d205bc14ac230a6d5012d39bbdb8d87c0e4d Mon Sep 17 00:00:00 2001 From: Marcus Hoffmann Date: Sat, 13 Jan 2018 15:15:03 +0100 Subject: [PATCH] riot: verify npm download --- metadata/im.vector.alpha.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/metadata/im.vector.alpha.txt b/metadata/im.vector.alpha.txt index e523d761b4..6f40d825eb 100644 --- a/metadata/im.vector.alpha.txt +++ b/metadata/im.vector.alpha.txt @@ -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