Authenticate downloaded file by checking hash sum

This commit is contained in:
TheAssassin
2017-10-28 22:08:35 +02:00
parent 6bc4c246f0
commit c0217607bc
+2 -1
View File
@@ -5,7 +5,8 @@ set -e
sudo add-apt-repository --yes ppa:beineri/opt-qt591-trusty
sudo apt-get update -qq
wget http://ftp.de.debian.org/debian/pool/main/p/patchelf/patchelf_0.8-2_amd64.deb
wget https://ftp.fau.de/debian/pool/main/p/patchelf/patchelf_0.8-2_amd64.deb
echo "5d506507df7c02766ae6c3ca0d15b4234f4cb79a80799190ded9d3ca0ac28c0c patchelf_0.8-2_amd64.deb" | sha256sum -c
sudo dpkg -i patchelf_0.8-2_amd64.deb
cd /tmp/