- 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>
12 lines
216 B
Bash
Executable File
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 |