vdr/vdr/debian vdr.init

Tobias Grimm pkg-vdr-dvb-changes@lists.alioth.debian.org
Sun, 25 Apr 2004 11:02:08 +0000


Update of /cvsroot/pkg-vdr-dvb/vdr/vdr/debian
In directory haydn:/tmp/cvs-serv19316

Modified Files:
	vdr.init 
Log Message:
fixed bug in plugin loading

Index: vdr.init
===================================================================
RCS file: /cvsroot/pkg-vdr-dvb/vdr/vdr/debian/vdr.init,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- vdr.init	25 Apr 2004 10:57:40 -0000	1.7
+++ vdr.init	25 Apr 2004 11:02:06 -0000	1.8
@@ -53,14 +53,14 @@
         for (( i=0 ; i<${#installed_plugins[@]} ; i++ )); do
             if [ "$plugin" == "${inctalled_plugins[$i]}" ]; then
                 ordered_plugins=( "${ordered_plugins[@]}" "$plugin" )
-                unset plugins[$i]
+                unset installed_plugins[$i]
 		installed_plugins=( "${installed_plugins[@]}" )
 		break
             fi
         done
     done
     # then the remaining unordered plugins
-    ordered_plugins=( "${ordered_plugins[@]}" "${plugins[@]}" )
+    ordered_plugins=( "${ordered_plugins[@]}" "${installed_plugins[@]}" )
 
     # add the command line arguments
     for plugin in ${ordered_plugins[@]}; do