Modify update-gcc.sh to allow it to work with gpg2 as well as gpg
svn path=/nixpkgs/trunk/; revision=26638
This commit is contained in:
parent
6c033b18ee
commit
4940efa008
@ -42,7 +42,7 @@ do
|
||||
|
||||
rm -f "${url}.sig"
|
||||
wget "${url}.sig"
|
||||
gpg --verify "${file}.sig" "${path}"
|
||||
gpg --verify "${file}.sig" "${path}" || gpg2 --verify "${file}.sig" "${path}"
|
||||
rm "${file}.sig"
|
||||
|
||||
cat >> "$out" <<EOF
|
||||
|
Loading…
Reference in New Issue
Block a user