[CamelGPGContext] Prefer gpg2 over gpg
authorMilan Crha <mcrha@redhat.com>
Tue, 21 Jan 2014 07:21:18 +0000 (08:21 +0100)
committerMilan Crha <mcrha@redhat.com>
Tue, 21 Jan 2014 07:21:18 +0000 (08:21 +0100)
If there is a newer version installed, then use it, rather than
the old.

camel/camel-gpg-context.c

index a8bbf7c..98d999f 100644 (file)
@@ -458,8 +458,8 @@ gpg_ctx_get_executable_name (void)
 {
        static gint index = -1;
        const gchar *names[] = {
-               "gpg",
                "gpg2",
+               "gpg",
                NULL
        };