File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ if [[ "$PT_check_download" == "false" ]]; then
1616 exit 0
1717fi
1818
19- if ! which gpg ; then
19+ if ! which -s gpg ; then
2020 echo " gpg binary required in path for checking download. Skipping check."
2121 exit 0
2222fi
@@ -37,8 +37,8 @@ echo "Downloading tarball signature from ${sigsource}..."
3737curl -f -L -o " ${sigpath} " " ${sigsource} "
3838echo " Downloaded tarball signature to ${sigpath} ."
3939echo " Checking tarball signature at ${sigpath} ..."
40- if gpg --verify " ${sigpath} " " ${PT_path} " | grep " Good signature " ; then
41- echo " Signature verification suceeded ."
40+ if gpg --verify " ${sigpath} " " ${PT_path} " ; then
41+ echo " Signature verification succeeded ."
4242else
4343 echo " Signature verification failed, please re-run the installation."
4444 exit 1
You can’t perform that action at this time.
0 commit comments