mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue