]> git.saurik.com Git - apt.git/blobdiff - cmdline/apt-key.in
allow fetcher setup without directory creation
[apt.git] / cmdline / apt-key.in
index a9a729cce7dd42198f92282dff4add0056411c77..83a7a31b9b9c8295e341b7414c430c1ab6e7a302 100644 (file)
@@ -450,6 +450,14 @@ case "$command" in
        $GPG "$@"
        merge_back_changes
        ;;
+    verify)
+       setup_merged_keyring
+       if which gpgv >/dev/null 2>&1; then
+           gpgv --homedir "${GPGHOMEDIR}" --keyring "${GPGHOMEDIR}/pubring.gpg" --ignore-time-conflict "$@"
+       else
+           $GPG --verify "$@"
+       fi
+       ;;
     help)
         usage
         ;;