Also list non-existant system addon folders
This commit is contained in:
parent
d0ca6467cd
commit
b854931cfc
1 changed files with 1 additions and 1 deletions
|
@ -846,7 +846,7 @@ addons_get_directories (AddonsKind kind)
|
||||||
{
|
{
|
||||||
path = g_build_path (G_DIR_SEPARATOR_S, *datadirs,
|
path = g_build_path (G_DIR_SEPARATOR_S, *datadirs,
|
||||||
PACKAGE_NAME, folder_name, NULL);
|
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);
|
directories = g_slist_prepend (directories, path);
|
||||||
else
|
else
|
||||||
g_free (path);
|
g_free (path);
|
||||||
|
|
Loading…
Reference in a new issue