Reverted the check_gpg() part of r797; added real fix

Another 'brown paper bag' commit. This is hopefully the real fix,
deleting the line from info_item() that actually echos 'OK'.
This commit is contained in:
slakmagik 2010-05-27 22:14:16 +00:00
parent b77ee141f2
commit f1a2d0e19b

View file

@ -1236,7 +1236,6 @@ info_item() {
Options ) add_options $APP ;;
"Check GPG" )
if [[ ! -z $REPO_GPG ]]; then
echo "OK"
check_gpg $SHORTPATH
CHKRETVAL=$?
if [[ $CHKRETVAL == 0 ]]; then
@ -1323,7 +1322,7 @@ check_gpg() {
$GPGNAME tarball found.")" 8 40
return 1
fi
if ! gpg --verify $CHKPKG.*.asc &> /dev/null 2>&1; then
if ! gpg --verify $CHKPKG.*.asc > /dev/null 2>&1; then
dialog --title "WARNING" --yesno "$(crunch "GPG CHECK FAILED!\n\n \
Would you like to delete the $GPGNAME directory and tarball \
so you can perform a new sync? If so, all local changes to \