Commit 318bb808 authored by intrigeri's avatar intrigeri
Browse files

Associate Apple Keynote MIME type with Seahorse, to workaround shared-mime-info bug.

*.key are now seen as Apple Keynote files by the MIME machinery.
We've reported this upstream:
https://bugs.freedesktop.org/show_bug.cgi?id=93656

In the context of Tails, I guess we should rank keynote presentations
lower compared to OpenPGP keys, so here we go ⇒ OpenPGP armored
public keys named *.key shall be open with Seahorse.

Will-fix: #10889
parent 44469995
......@@ -10,7 +10,10 @@ if grep -E '^application/pgp-keys=' "$defaults_file"; then
echo "application/pgp-keys is already configured in $defaults_file" >&2
exit 1
else
# XXX: Stretch -- this fixes Tails#10571, unreproducible on non-Tails sid
# XXX: Stretch -- this fixes https://bugs.freedesktop.org/show_bug.cgi?id=93656
# (Tails#10889, Tails#10571)
echo 'application/pgp-keys=seahorse-pgp-keys.desktop' \
>> "$defaults_file"
echo 'application/x-iwork-keynote-sffkey=seahorse-pgp-keys.desktop' \
>> "$defaults_file"
fi
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment