mirror of
https://github.com/sbopkg/sbopkg
synced 2024-12-27 09:58:28 +01:00
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:
parent
b77ee141f2
commit
f1a2d0e19b
1 changed files with 1 additions and 2 deletions
|
@ -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 \
|
||||
|
|
Loading…
Reference in a new issue