Lakshya Singh aee7a57c95
bitcoind: v26.0 handle gpg failure
- gpg returns error code 2 for untrusted keys accept it for now
- refresh gpg keys
- directory changes for configure.ac file
Signed-off-by: Lakshya Singh <lakshay.singh1108@gmail.com>
2024-03-13 22:09:24 +05:30

12 lines
216 B
Bash
Executable File

#!/bin/sh
# verify SHA256SUMS
gpg --batch --verify SHA256SUMS.asc SHA256SUMS
ret_val=$?
# allow 2 as well in case of untrusted keys
if [ $ret_val -eq 0 ] || [ $ret_val -eq 2 ]; then
exit 0
else
exit $ret_val
fi