yWeb: replace hardcoded paths (/var/tuxbox/plugins -> %(PLUGINDIR_VAR))

Origin commit data
------------------
Commit: 7a2bc6be83
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-10-01 (Sat, 01 Oct 2016)

Origin message was:
------------------
- yWeb: replace hardcoded paths (/var/tuxbox/plugins -> %(PLUGINDIR_VAR))
This commit is contained in:
vanhofen
2016-10-01 11:06:11 +02:00
parent b05330225a
commit c4afe9d19d
2 changed files with 2 additions and 1 deletions

View File

@@ -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' \
;

View File

@@ -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