mirror of
https://github.com/sbopkg/sbopkg
synced 2024-12-28 09:58:58 +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 ;;
|
Options ) add_options $APP ;;
|
||||||
"Check GPG" )
|
"Check GPG" )
|
||||||
if [[ ! -z $REPO_GPG ]]; then
|
if [[ ! -z $REPO_GPG ]]; then
|
||||||
echo "OK"
|
|
||||||
check_gpg $SHORTPATH
|
check_gpg $SHORTPATH
|
||||||
CHKRETVAL=$?
|
CHKRETVAL=$?
|
||||||
if [[ $CHKRETVAL == 0 ]]; then
|
if [[ $CHKRETVAL == 0 ]]; then
|
||||||
|
@ -1323,7 +1322,7 @@ check_gpg() {
|
||||||
$GPGNAME tarball found.")" 8 40
|
$GPGNAME tarball found.")" 8 40
|
||||||
return 1
|
return 1
|
||||||
fi
|
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 \
|
dialog --title "WARNING" --yesno "$(crunch "GPG CHECK FAILED!\n\n \
|
||||||
Would you like to delete the $GPGNAME directory and tarball \
|
Would you like to delete the $GPGNAME directory and tarball \
|
||||||
so you can perform a new sync? If so, all local changes to \
|
so you can perform a new sync? If so, all local changes to \
|
||||||
|
|
Loading…
Reference in a new issue