vdr/vdr/debian vdr.postinst

Thomas Schmidt pkg-vdr-dvb-changes@lists.alioth.debian.org
Sun, 16 Jan 2005 22:10:28 +0000


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

Modified Files:
	vdr.postinst 
Log Message:
* use $USER everywhere, where a username is specified

Index: vdr.postinst
===================================================================
RCS file: /cvsroot/pkg-vdr-dvb/vdr/vdr/debian/vdr.postinst,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- vdr.postinst	16 Jan 2005 22:02:57 -0000	1.19
+++ vdr.postinst	16 Jan 2005 22:10:26 -0000	1.20
@@ -114,7 +114,7 @@
 	fi
 	
 	# put vdr in group video so that it can access the DVB device nodes
-	adduser vdr video > /dev/null || true
+	adduser $USER video > /dev/null || true
 
 	# ensure that vdr's config and recording files are correctly owned
 	[ ! -e /var/lib/video ] || chown -R $USER:$GROUP /var/lib/video/