From 4d5cec97d15cdc9a8e550072a68f49c1b41304c8 Mon Sep 17 00:00:00 2001 From: vanhofen Date: Thu, 30 May 2019 19:07:17 +0200 Subject: [PATCH] move plugins to /share/tuxbox/neutrino/plugins Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/e33816f93cea0a7b704a7d898eb64fec7b82ae00 Author: vanhofen Date: 2019-05-30 (Thu, 30 May 2019) Origin message was: ------------------ - move plugins to /share/tuxbox/neutrino/plugins ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- acinclude.m4 | 4 ++-- src/system/luaserver.cpp | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/acinclude.m4 b/acinclude.m4 index 5532dd03b..919d38769 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -269,7 +269,7 @@ TUXBOX_APPS_DIRECTORY_ONE(gamesdir, GAMESDIR, localstatedir, /var, /tuxbox/games TUXBOX_APPS_DIRECTORY_ONE(libdir, LIBDIR, libdir, /lib, /tuxbox, [--with-libdir=PATH], [where to find internal libs]) -TUXBOX_APPS_DIRECTORY_ONE(plugindir, PLUGINDIR, libdir, /lib, /tuxbox/plugins, +TUXBOX_APPS_DIRECTORY_ONE(plugindir, PLUGINDIR, datadir, /share, /tuxbox/neutrino/plugins, [--with-plugindir=PATH], [where to find plugins]) TUXBOX_APPS_DIRECTORY_ONE(plugindir_var, PLUGINDIR_VAR, localstatedir, /var, /tuxbox/plugins, @@ -278,7 +278,7 @@ TUXBOX_APPS_DIRECTORY_ONE(plugindir_var, PLUGINDIR_VAR, localstatedir, /var, /tu TUXBOX_APPS_DIRECTORY_ONE(plugindir_mnt, PLUGINDIR_MNT, mntdir, /mnt, /plugins, [--with-plugindir_mnt=PATH], [where to find external plugins]) -TUXBOX_APPS_DIRECTORY_ONE(luaplugindir, LUAPLUGINDIR, libdir, /lib, /tuxbox/luaplugins, +TUXBOX_APPS_DIRECTORY_ONE(luaplugindir, LUAPLUGINDIR, datadir, /share, /tuxbox/neutrino/luaplugins, [--with-luaplugindir=PATH], [where to find Lua plugins]) TUXBOX_APPS_DIRECTORY_ONE(webradiodir, WEBRADIODIR, datadir, /share, /tuxbox/neutrino/webradio, diff --git a/src/system/luaserver.cpp b/src/system/luaserver.cpp index 8232b5268..53069a69b 100644 --- a/src/system/luaserver.cpp +++ b/src/system/luaserver.cpp @@ -21,7 +21,7 @@ #if 0 For testing try: -cat < /lib/tuxbox/luaplugins/test.lua +cat < /share/tuxbox/neutrino/luaplugins/test.lua #!/bin/luaclient for i,v in ipairs(arg) do @@ -30,9 +30,9 @@ end return "ok" EOT -chmod +x /lib/tuxbox/luaplugins/test.lua +chmod +x /share/tuxbox/neutrino/luaplugins/test.lua -/lib/tuxbox/luaplugins/test.lua a b c d +/share/tuxbox/neutrino/luaplugins/test.lua a b c d #endif #include