Merge branch 'verify-sign' into 'master'

repo-add: implicitly sign when verifying

See merge request pacman/pacman!172
This commit is contained in:
Christian Hesse 2025-06-26 08:48:41 +02:00
commit aac29281b7
2 changed files with 2 additions and 1 deletions

View file

@ -55,7 +55,7 @@ Common Options
*-v, \--verify*:: *-v, \--verify*::
Verify the PGP signature of the database before updating the database. Verify the PGP signature of the database before updating the database.
If the signature is invalid, an error is produced and the update does not If the signature is invalid, an error is produced and the update does not
proceed. proceed. This implicitly enabled signing.
*\--nocolor*:: *\--nocolor*::
Remove color from 'repo-add' and 'repo-remove' output. Remove color from 'repo-add' and 'repo-remove' output.

View file

@ -655,6 +655,7 @@ while true; do
GPGKEY=$1 GPGKEY=$1
;; ;;
-v|--verify) -v|--verify)
SIGN=1
VERIFY=1 VERIFY=1
;; ;;
-p|--prevent-downgrade) -p|--prevent-downgrade)