diff options
author | Matthias Schwarzott <zzam@gentoo.org> | 2006-05-15 20:04:06 +0000 |
---|---|---|
committer | Matthias Schwarzott <zzam@gentoo.org> | 2006-05-15 20:04:06 +0000 |
commit | 6fbbcba1d80d45462ce67cdedeb93119c01c11a8 (patch) | |
tree | 5683ec84c7833e7df08a6e6fa3a3251dbe4329b2 /media-plugins/vdr-remote | |
parent | Added an extra dodir and closing bug #131102. (diff) | |
download | gentoo-2-6fbbcba1d80d45462ce67cdedeb93119c01c11a8.tar.gz gentoo-2-6fbbcba1d80d45462ce67cdedeb93119c01c11a8.tar.bz2 gentoo-2-6fbbcba1d80d45462ce67cdedeb93119c01c11a8.zip |
Avoid error of non existing file /proc/av7110_ir
(Portage version: 2.1_rc1-r2)
Diffstat (limited to 'media-plugins/vdr-remote')
-rw-r--r-- | media-plugins/vdr-remote/ChangeLog | 5 | ||||
-rw-r--r-- | media-plugins/vdr-remote/files/rc-addon.sh | 2 |
2 files changed, 5 insertions, 2 deletions
diff --git a/media-plugins/vdr-remote/ChangeLog b/media-plugins/vdr-remote/ChangeLog index 86da6673a416..826eaddb29d6 100644 --- a/media-plugins/vdr-remote/ChangeLog +++ b/media-plugins/vdr-remote/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for media-plugins/vdr-remote # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-remote/ChangeLog,v 1.4 2006/04/17 13:37:43 zzam Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-remote/ChangeLog,v 1.5 2006/05/15 20:04:06 zzam Exp $ + + 15 May 2006; Matthias Schwarzott <zzam@gentoo.org> files/rc-addon.sh: + Avoid error of non existing file /proc/av7110_ir 17 Apr 2006; Matthias Schwarzott <zzam@gentoo.org> vdr-remote-0.3.6.ebuild: diff --git a/media-plugins/vdr-remote/files/rc-addon.sh b/media-plugins/vdr-remote/files/rc-addon.sh index 3457788f4f9e..3040192e17d2 100644 --- a/media-plugins/vdr-remote/files/rc-addon.sh +++ b/media-plugins/vdr-remote/files/rc-addon.sh @@ -55,7 +55,7 @@ plugin_pre_vdr_start() { autodetect_input_devices fi if [[ -n ${REMOTE_PLUGIN_INPUT_DEVICE} && "${REMOTE_PLUGIN_INPUT_DEVICE}" != "no" ]]; then - chown vdr:vdr /proc/av7110_ir + [[ -e /proc/av7110_ir ]] && chown vdr:vdr /proc/av7110_ir for dev in ${REMOTE_PLUGIN_INPUT_DEVICE}; do [[ -e ${dev} ]] || continue chown vdr:vdr ${dev} |