vdr/vdr/debian vdr.postinst
Thomas Schmidt
pkg-vdr-dvb-changes@lists.alioth.debian.org
Sat, 15 Jan 2005 20:28:35 +0000
Update of /cvsroot/pkg-vdr-dvb/vdr/vdr/debian
In directory haydn:/tmp/cvs-serv8728/vdr/vdr/debian
Modified Files:
vdr.postinst
Log Message:
* do not fail when /var/cache/vdr is empty
Index: vdr.postinst
===================================================================
RCS file: /cvsroot/pkg-vdr-dvb/vdr/vdr/debian/vdr.postinst,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- vdr.postinst 9 Jan 2005 21:37:39 -0000 1.16
+++ vdr.postinst 15 Jan 2005 20:28:33 -0000 1.17
@@ -106,7 +106,7 @@
[ ! -e /var/lib/video ] || chown -R vdr:vdr /var/lib/video/
[ ! -e /var/lib/vdr ] || chown vdr:vdr /var/lib/vdr/*
[ ! -e /var/lib/vdr ] || chown vdr:vdr /var/lib/vdr
- [ ! -e /var/cache/vdr ] || chown vdr:vdr /var/cache/vdr/*
+ [ ! -e /var/cache/vdr ] || chown vdr:vdr /var/cache/vdr/* || true
[ ! -e /var/cache/vdr ] || chown vdr:vdr /var/cache/vdr
# make /usr/lib/vdr/vdr-shutdown.wrapper setuid/setgid (owner root:vdr, mode 6750)