]> git.saurik.com Git - apt.git/blobdiff - cmdline/apt-key.in
add a test for apt-key export{,all}
[apt.git] / cmdline / apt-key.in
index c54b608e1a1440878ad8bf0d14a450a4f8ac2e4f..a3f8dde3a385d2556213680f29533210651ac52f 100644 (file)
@@ -380,8 +380,8 @@ case "$command" in
        foreach_keyring_do 'fingerprint_keys_from_keyring' "$@"
        ;;
     export|exportall)
-       foreach_keyring_do 'import_keys_from_keyring' "${GPGHOMEDIR}/trusted.gpg"
-       $GPG_CMD --keyring "${GPGHOMEDIR}/trusted.gpg" --armor --export "$@"
+       foreach_keyring_do 'import_keys_from_keyring' "${GPGHOMEDIR}/pubring.gpg"
+       $GPG_CMD --keyring "${GPGHOMEDIR}/pubring.gpg" --armor --export "$@"
        ;;
     adv*)
        setup_merged_keyring