r361 - vdr/vdr/trunk/debian

Thomas Schmidt pkg-vdr-dvb-changes@lists.alioth.debian.org
Thu, 31 Mar 2005 21:48:39 +0000


Author: tschmidt
Date: 2005-03-31 21:48:38 +0000 (Thu, 31 Mar 2005)
New Revision: 361

Modified:
   vdr/vdr/trunk/debian/changelog
   vdr/vdr/trunk/debian/vdr.postinst
Log:
vdr: Add vdr to group cdrom in postinst

Modified: vdr/vdr/trunk/debian/changelog
===================================================================
--- vdr/vdr/trunk/debian/changelog	2005-03-29 22:46:43 UTC (rev 360)
+++ vdr/vdr/trunk/debian/changelog	2005-03-31 21:48:38 UTC (rev 361)
@@ -6,8 +6,10 @@
     - Added patch for the EPG handling under amd64 (closes: #300702)
     - Fixed small typos in the package descriptions of vdr and 
       vdr-dev (closes: #300042, #300074)
+    - Add user vdr to group cdrom in postinst, so that vdr is able to
+      play dvd's with the dvd-plugin again
 
- -- Debian VDR Team <pkg-vdr-dvb-devel@lists.alioth.debian.org>  Mon, 21 Mar 2005 18:16:50 +0100
+ -- Debian VDR Team <pkg-vdr-dvb-devel@lists.alioth.debian.org>  Thu, 31 Mar 2005 23:47:37 +0200
 
 vdr (1.2.6-9) experimental; urgency=low
 

Modified: vdr/vdr/trunk/debian/vdr.postinst
===================================================================
--- vdr/vdr/trunk/debian/vdr.postinst	2005-03-29 22:46:43 UTC (rev 360)
+++ vdr/vdr/trunk/debian/vdr.postinst	2005-03-31 21:48:38 UTC (rev 361)
@@ -132,6 +132,10 @@
 	# put vdr in group video so that it can access the DVB device nodes
 	adduser $USER video > /dev/null || true
 
+	# put vdr in group cdrom so that it can access the cdrom and dvd 
+	# device nodes
+	adduser $USER cdrom > /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/
 	[ ! -e /var/lib/vdr ] || chown $USER:$GROUP /var/lib/vdr