vdr/vdr/debian vdr.init
Thomas Schmidt
pkg-vdr-dvb-changes@lists.alioth.debian.org
Mon, 26 Apr 2004 17:53:21 +0000
Update of /cvsroot/pkg-vdr-dvb/vdr/vdr/debian
In directory haydn:/tmp/cvs-serv13809/vdr/vdr/debian
Modified Files:
vdr.init
Log Message:
implemented a way to prevent certain plugins from beeing loaded
Index: vdr.init
===================================================================
RCS file: /cvsroot/pkg-vdr-dvb/vdr/vdr/debian/vdr.init,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- vdr.init 26 Apr 2004 17:38:51 -0000 1.11
+++ vdr.init 26 Apr 2004 17:53:19 -0000 1.12
@@ -55,6 +55,11 @@
# move ordered plugins to list of ordered plugins
for plugin in ${plugin_order[@]}; do
for (( i=0 ; i<${#installed_plugins[@]} ; i++ )); do
+ if [ "$plugin" == "-${installed_plugins[$i]}" ]; then
+ unset installed_plugins[$i]
+ installed_plugins=( "${installed_plugins[@]}" )
+ break
+ fi
if [ "$plugin" == "${installed_plugins[$i]}" ]; then
ordered_plugins=( "${ordered_plugins[@]}" "$plugin" )
unset installed_plugins[$i]