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

This commit is contained in:
svenhoefer
2016-10-01 11:06:11 +02:00
parent f60578680b
commit 7a2bc6be83
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 \ find $(DESTDIR)$(PRIVATE_HTTPDDIR)/ -type f -print0 | xargs --no-run-if-empty -0 \
sed -i \ sed -i \
-e 's|%(CONFIGDIR)|$(CONFIGDIR)|g' \ -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_getline) shift 1; do_automount_getline $* ;;
automount_setline) shift 1; do_automount_setline $* ;; automount_setline) shift 1; do_automount_setline $* ;;
restart_neutrino) restart_neutrino ;; restart_neutrino) restart_neutrino ;;
have_plugin_scripts) find /var/tuxbox/plugins -name '*.sh' ;; have_plugin_scripts) find %(PLUGINDIR_VAR) -name '*.sh' ;;
timer_get_tvinfo) timer_get_tvinfo)
shift 1 shift 1