1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-31 18:31:04 +00:00

Hash-check buildbot dependencies

This commit is contained in:
sfan5 2023-12-13 00:19:11 +01:00
parent 62c6667b0b
commit c871b6dd4e
6 changed files with 70 additions and 28 deletions

View file

@ -23,6 +23,7 @@ download () {
[ -d "./$foldername" ] && return 0
wget "$url" -c -O "./$filename"
sha256sum -w -c <(grep -F "$filename" "$topdir/sha256sums.txt")
if [ "$extract" = "unzip" ]; then
unzip -o "$filename" -d "$foldername"
elif [ "$extract" = "unzip_nofolder" ]; then