vdr/vdr/debian plugin-loader.sh

Thomas Schmidt pkg-vdr-dvb-changes@lists.alioth.debian.org
Sun, 17 Oct 2004 13:42:01 +0000


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

Modified Files:
	plugin-loader.sh 
Log Message:
* use the version-check from vdr 1.2.6-5 again, to avoid an ugly error-message in the syslog

Index: plugin-loader.sh
===================================================================
RCS file: /cvsroot/pkg-vdr-dvb/vdr/vdr/debian/plugin-loader.sh,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- plugin-loader.sh	17 Oct 2004 12:21:50 -0000	1.17
+++ plugin-loader.sh	17 Oct 2004 13:41:59 -0000	1.18
@@ -16,7 +16,7 @@
     local leftout2
     local version
 
-    version=`/usr/bin/vdr -V -P- 2>/dev/null | sed -e 's/.*(\(.*\)).*/\1/'`
+    version=`/usr/bin/vdr -V 2>/dev/null | grep '^vdr[- ]' | sed -e 's/.*(\(.*\)).*/\1/'`
     test "$version" || version="unknown version"
  
     PLUGINS=""