commit:     051e705232ba436bad922ed250fd97c2893376e4
Author:     Kerin Millar <kfm <AT> plushkava <DOT> net>
AuthorDate: Wed Jun 18 10:29:01 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Jun 18 20:00:59 2025 +0000
URL:        https://gitweb.gentoo.org/proj/portage.git/commit/?id=051e7052

emerge-webrsync: rename check_file_signature_gpg_unwrapped()

Rename the check_file_signature_gpg_unwrapped() function to
check_file_signature_gpg().

Signed-off-by: Kerin Millar <kfm <AT> plushkava.net>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 bin/emerge-webrsync | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/bin/emerge-webrsync b/bin/emerge-webrsync
index ed4825ef95..8e0619e69c 100755
--- a/bin/emerge-webrsync
+++ b/bin/emerge-webrsync
@@ -278,7 +278,7 @@ check_file_signature_gemato() {
        fi
 }
 
-check_file_signature_gpg_unwrapped() {
+check_file_signature_gpg() {
        local signature=$1 file=$2
        local fingerprint key
        local -x GNUPGHOME
@@ -345,12 +345,12 @@ check_file_signature() {
                        check_file_signature_gemato "${signature}" "${file}"
                        if (( ${r=$?} == 127 )); then
                                ewarn "Falling back to gpg as gemato is not 
installed"
-                               check_file_signature_gpg_unwrapped 
"${signature}" "${file}"
+                               check_file_signature_gpg "${signature}" 
"${file}"
                                r=$?
                        fi
                        ;;
                2)
-                       check_file_signature_gpg_unwrapped "${signature}" 
"${file}"
+                       check_file_signature_gpg "${signature}" "${file}"
        esac
 
        if (( ${r=$?} != 0 )); then

Reply via email to