From b854931cfc8c418f0ea22c1f14a49e8cc139eb37 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Pawe=C5=82=20Forysiuk?= Date: Wed, 23 May 2012 00:31:45 +0200 Subject: [PATCH] Also list non-existant system addon folders --- extensions/addons.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/addons.c b/extensions/addons.c index c05fd855..6051627e 100644 --- a/extensions/addons.c +++ b/extensions/addons.c @@ -846,7 +846,7 @@ addons_get_directories (AddonsKind kind) { path = g_build_path (G_DIR_SEPARATOR_S, *datadirs, PACKAGE_NAME, folder_name, NULL); - if (g_slist_find (directories, path) == NULL && g_access (path, X_OK) == 0) + if (g_slist_find (directories, path) == NULL) directories = g_slist_prepend (directories, path); else g_free (path); -- 2.39.5