vdr/vdr/debian vdr.postinst

Thomas Schmidt pkg-vdr-dvb-changes@lists.alioth.debian.org
Sat, 29 May 2004 18:17:09 +0000


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

Modified Files:
	vdr.postinst 
Log Message:
corrected wrong test-command

Index: vdr.postinst
===================================================================
RCS file: /cvsroot/pkg-vdr-dvb/vdr/vdr/debian/vdr.postinst,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- vdr.postinst	29 May 2004 18:00:51 -0000	1.5
+++ vdr.postinst	29 May 2004 18:16:07 -0000	1.6
@@ -33,7 +33,7 @@
 	
 	# move cfg-files from /etc/vdr to /var/lib/vdr
 	for FILE in epg.data remote.conf setup.conf timers.conf do
-		if [ -e /etc/vdr/$FILE ] && [ ! -e /var/lib/vdr/$FILE ]; then
+		if [ -e /etc/vdr/$FILE  -a ! -e /var/lib/vdr/$FILE ]; then
 			printf "Note: Moving /etc/vdr/$FILE to /var/lib/vdr/$FILE\n"
 			mv /etc/vdr/$FILE /var/lib/vdr/$FILE
 		fi