summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Schwarzott <zzam@gentoo.org>2006-06-15 13:56:11 +0000
committerMatthias Schwarzott <zzam@gentoo.org>2006-06-15 13:56:11 +0000
commit3c6ee4d341b1c426c46a21d3ada1fffef391e746 (patch)
tree6dae0648a63ed7293cd28274790fa8752a8aeedd /media-plugins/vdr-submenu
parentAdd sendpage user. Although the daemon starts as root it is willing to spawn ... (diff)
downloadgentoo-2-3c6ee4d341b1c426c46a21d3ada1fffef391e746.tar.gz
gentoo-2-3c6ee4d341b1c426c46a21d3ada1fffef391e746.tar.bz2
gentoo-2-3c6ee4d341b1c426c46a21d3ada1fffef391e746.zip
Do not grep nonexisting file in check for vdr-support.
(Portage version: 2.1)
Diffstat (limited to 'media-plugins/vdr-submenu')
-rw-r--r--media-plugins/vdr-submenu/ChangeLog6
-rw-r--r--media-plugins/vdr-submenu/vdr-submenu-0.0.2.ebuild5
2 files changed, 8 insertions, 3 deletions
diff --git a/media-plugins/vdr-submenu/ChangeLog b/media-plugins/vdr-submenu/ChangeLog
index 9eacf211bb1e..98578109d41d 100644
--- a/media-plugins/vdr-submenu/ChangeLog
+++ b/media-plugins/vdr-submenu/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-plugins/vdr-submenu
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-submenu/ChangeLog,v 1.1 2006/03/29 21:52:53 zzam Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-submenu/ChangeLog,v 1.2 2006/06/15 13:56:11 zzam Exp $
+
+ 15 Jun 2006; Matthias Schwarzott <zzam@gentoo.org>
+ vdr-submenu-0.0.2.ebuild:
+ Do not grep nonexisting file in check for vdr-support.
*vdr-submenu-0.0.2 (29 Mar 2006)
diff --git a/media-plugins/vdr-submenu/vdr-submenu-0.0.2.ebuild b/media-plugins/vdr-submenu/vdr-submenu-0.0.2.ebuild
index 903d1ad48fde..8b4a6363268a 100644
--- a/media-plugins/vdr-submenu/vdr-submenu-0.0.2.ebuild
+++ b/media-plugins/vdr-submenu/vdr-submenu-0.0.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-submenu/vdr-submenu-0.0.2.ebuild,v 1.1 2006/03/29 21:52:53 zzam Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-submenu/vdr-submenu-0.0.2.ebuild,v 1.2 2006/06/15 13:56:11 zzam Exp $
inherit vdr-plugin
@@ -21,7 +21,8 @@ PATCHES="${FILESDIR}/${P}-asprintf.patch"
pkg_setup() {
vdr-plugin_pkg_setup
- if grep -q "class cSubMenuItemInfo" /usr/include/vdr/submenu.h 2>/dev/null; then
+ local header=/usr/include/vdr/submenu.h
+ if [[ -e ${header} ]] && grep -q "class cSubMenuItemInfo" ${header} 2>/dev/null; then
einfo "Patched vdr found"
else
einfo "Unpatched vdr found"