vdr/vdr/debian plugin-loader.sh
Tobias Grimm
pkg-vdr-dvb-changes@lists.alioth.debian.org
Sun, 17 Oct 2004 16:36:42 +0000
Update of /cvsroot/pkg-vdr-dvb/vdr/vdr/debian
In directory haydn:/tmp/cvs-serv25090
Modified Files:
plugin-loader.sh
Log Message:
we should avoid loading plugins, when extracting just the vdr version. this should remove the ugly error message too.
Index: plugin-loader.sh
===================================================================
RCS file: /cvsroot/pkg-vdr-dvb/vdr/vdr/debian/plugin-loader.sh,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- plugin-loader.sh 17 Oct 2004 13:41:59 -0000 1.18
+++ plugin-loader.sh 17 Oct 2004 16:36:40 -0000 1.19
@@ -16,7 +16,7 @@
local leftout2
local version
- version=`/usr/bin/vdr -V 2>/dev/null | grep '^vdr[- ]' | sed -e 's/.*(\(.*\)).*/\1/'`
+ version=`/usr/bin/vdr -V -L/dev/null 2>/dev/null | sed -e 's/.*(\(.*\)).*/\1/'`
test "$version" || version="unknown version"
PLUGINS=""