vdr/vdr/debian vdr.init
Tobias Grimm
pkg-vdr-dvb-changes@lists.alioth.debian.org
Sun, 25 Apr 2004 10:54:12 +0000
Update of /cvsroot/pkg-vdr-dvb/vdr/vdr/debian
In directory haydn:/tmp/cvs-serv18620
Modified Files:
vdr.init
Log Message:
extracting version number of vdr, even if also plugin versions are reported
Index: vdr.init
===================================================================
RCS file: /cvsroot/pkg-vdr-dvb/vdr/vdr/debian/vdr.init,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- vdr.init 24 Apr 2004 18:26:46 -0000 1.5
+++ vdr.init 25 Apr 2004 10:54:10 -0000 1.6
@@ -17,8 +17,7 @@
test -x /usr/sbin/runvdr || exit 0
-VDRPRG=/usr/bin/$DAEMON
-VERSION=`$VDRPRG -V 2>/dev/null | sed -e 's/.*(\(.*\)).*/\1/'`
+VERSION=`/usr/bin/$DAEMON -V 2>/dev/null | grep 'vdr' | sed -e 's/.*(\(.*\)).*/\1/'`
startvdr()
{