diff --git a/src/nhttpd/web/Makefile.am b/src/nhttpd/web/Makefile.am index 41b470401..86dd57c8c 100644 --- a/src/nhttpd/web/Makefile.am +++ b/src/nhttpd/web/Makefile.am @@ -105,5 +105,6 @@ install-data-hook: find $(DESTDIR)$(PRIVATE_HTTPDDIR)/ -type f -print0 | xargs --no-run-if-empty -0 \ sed -i \ -e 's|%(CONFIGDIR)|$(CONFIGDIR)|g' \ + -e 's|%(PLUGINDIR_VAR)|$(PLUGINDIR_VAR)|g' \ ; diff --git a/src/nhttpd/web/scripts/Y_Tools.sh b/src/nhttpd/web/scripts/Y_Tools.sh index 75179c4aa..2e93f8509 100755 --- a/src/nhttpd/web/scripts/Y_Tools.sh +++ b/src/nhttpd/web/scripts/Y_Tools.sh @@ -588,7 +588,7 @@ case "$1" in automount_getline) shift 1; do_automount_getline $* ;; automount_setline) shift 1; do_automount_setline $* ;; restart_neutrino) restart_neutrino ;; - have_plugin_scripts) find /var/tuxbox/plugins -name '*.sh' ;; + have_plugin_scripts) find %(PLUGINDIR_VAR) -name '*.sh' ;; timer_get_tvinfo) shift 1