vdr/vdr/debian vdr.init
Tobias Grimm
pkg-vdr-dvb-changes@lists.alioth.debian.org
Tue, 27 Apr 2004 00:52:43 +0000
Update of /cvsroot/pkg-vdr-dvb/vdr/vdr/debian
In directory haydn:/tmp/cvs-serv15991
Modified Files:
vdr.init
Log Message:
improved vdr version detection as suggested by Thomas Günther
Index: vdr.init
===================================================================
RCS file: /cvsroot/pkg-vdr-dvb/vdr/vdr/debian/vdr.init,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- vdr.init 26 Apr 2004 17:53:19 -0000 1.12
+++ vdr.init 27 Apr 2004 00:52:41 -0000 1.13
@@ -17,7 +17,7 @@
test -x /usr/sbin/runvdr || exit 0
-VERSION=`/usr/bin/$DAEMON -V 2>/dev/null | grep '^vdr' | sed -e 's/.*(\(.*\)).*/\1/'`
+VERSION=`/usr/bin/$DAEMON -V 2>/dev/null | grep '^vdr[- ]' | sed -e 's/.*(\(.*\)).*/\1/'`
startvdr()
{