]> git.saurik.com Git - apt.git/blobdiff - cmdline/apt-key.in
Merge branch 'debian/jessie' into debian/experimental
[apt.git] / cmdline / apt-key.in
index cf0b9a96f75960081d8a8bc2afb8dc5d08a2bca0..2a66ad74d182a805c5a62f410ab2a3857fc67ba8 100644 (file)
@@ -168,7 +168,7 @@ remove_key_from_keyring() {
     local GPG="$GPG_CMD --keyring $KEYRINGFILE"
     for KEY in "$@"; do
        # check if the key is in this keyring: the key id is in the 5 column at the end
-       if ! get_fingerprints_of_keyring "$KEYRINGFILE" | grep -q "^[0-9A-F]*${KEY}$"; then
+       if ! get_fingerprints_of_keyring "$KEYRINGFILE" | grep -iq "^[0-9A-F]*${KEY}$"; then
            continue
        fi
        if [ ! -w "$KEYRINGFILE" ]; then