diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2018-08-31 19:15:26 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2018-08-31 19:15:26 (GMT) |
commit | 531be2e3a96bf13cd36035cec7faa31b2534a742 (patch) | |
tree | d8c2b5f6d5601a1adfa7356f45879bb5f0fca348 /plugins/pychrysalide | |
parent | 1307580ca1ca820b57dcfbfcdcee9afe74cc1614 (diff) |
Changed the location of installed plugins.
Diffstat (limited to 'plugins/pychrysalide')
-rw-r--r-- | plugins/pychrysalide/Makefile.am | 2 | ||||
-rw-r--r-- | plugins/pychrysalide/pychrysa.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/plugins/pychrysalide/Makefile.am b/plugins/pychrysalide/Makefile.am index bc01ee3..cfd5f81 100644 --- a/plugins/pychrysalide/Makefile.am +++ b/plugins/pychrysalide/Makefile.am @@ -1,7 +1,7 @@ pkglib_LTLIBRARIES = pychrysalide.la -libdir = $(pluginsdir) +libdir = $(pluginslibdir) pychrysalide_la_SOURCES = \ diff --git a/plugins/pychrysalide/pychrysa.c b/plugins/pychrysalide/pychrysa.c index 7403927..8c93448 100644 --- a/plugins/pychrysalide/pychrysa.c +++ b/plugins/pychrysalide/pychrysa.c @@ -548,12 +548,12 @@ G_MODULE_EXPORT bool chrysalide_plugin_init(GPluginModule *plugin) /* Définition des zones d'influence */ - dir = opendir(PLUGINS_DIR G_DIR_SEPARATOR_S "python"); + dir = opendir(PLUGINS_DATA_DIR G_DIR_SEPARATOR_S "python"); if (dir != NULL) { closedir(dir); - add_to_env_var("PYTHONPATH", PLUGINS_DIR G_DIR_SEPARATOR_S "python", ":"); + add_to_env_var("PYTHONPATH", PLUGINS_DATA_DIR G_DIR_SEPARATOR_S "python", ":"); } else add_to_env_var("PYTHONPATH", PACKAGE_SOURCE_DIR G_DIR_SEPARATOR_S "plugins" \ |