diff options
author | Matthias Schwarzott <zzam@gentoo.org> | 2006-05-02 15:16:24 +0000 |
---|---|---|
committer | Matthias Schwarzott <zzam@gentoo.org> | 2006-05-02 15:16:24 +0000 |
commit | 0b0bd5011276fc514720a185bf59b655023c6216 (patch) | |
tree | b4dabb310b1839986007b910284646a8abe0d023 /media-plugins/vdr-decruft | |
parent | Stable on sparc (diff) | |
download | gentoo-2-0b0bd5011276fc514720a185bf59b655023c6216.tar.gz gentoo-2-0b0bd5011276fc514720a185bf59b655023c6216.tar.bz2 gentoo-2-0b0bd5011276fc514720a185bf59b655023c6216.zip |
Added a more understandable error message for unpatched vdr.
(Portage version: 2.1_pre10-r2)
Diffstat (limited to 'media-plugins/vdr-decruft')
-rw-r--r-- | media-plugins/vdr-decruft/ChangeLog | 6 | ||||
-rw-r--r-- | media-plugins/vdr-decruft/vdr-decruft-0.0.4.ebuild | 7 |
2 files changed, 10 insertions, 3 deletions
diff --git a/media-plugins/vdr-decruft/ChangeLog b/media-plugins/vdr-decruft/ChangeLog index daf49b5ce4d9..6517b3076765 100644 --- a/media-plugins/vdr-decruft/ChangeLog +++ b/media-plugins/vdr-decruft/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-plugins/vdr-decruft # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-decruft/ChangeLog,v 1.1 2006/02/05 15:53:02 zzam Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-decruft/ChangeLog,v 1.2 2006/05/02 15:16:24 zzam Exp $ + + 02 May 2006; Matthias Schwarzott <zzam@gentoo.org> + vdr-decruft-0.0.4.ebuild: + Added a more understandable error message for unpatched vdr. *vdr-decruft-0.0.4 (05 Feb 2006) diff --git a/media-plugins/vdr-decruft/vdr-decruft-0.0.4.ebuild b/media-plugins/vdr-decruft/vdr-decruft-0.0.4.ebuild index 0a317eca90b0..e8d7dcd716c7 100644 --- a/media-plugins/vdr-decruft/vdr-decruft-0.0.4.ebuild +++ b/media-plugins/vdr-decruft/vdr-decruft-0.0.4.ebuild @@ -1,6 +1,6 @@ # Copyright 2003-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-decruft/vdr-decruft-0.0.4.ebuild,v 1.1 2006/02/05 15:53:02 zzam Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-decruft/vdr-decruft-0.0.4.ebuild,v 1.2 2006/05/02 15:16:24 zzam Exp $ IUSE="" inherit vdr-plugin eutils @@ -16,7 +16,10 @@ DEPEND=">=media-video/vdr-1.3.21-r2" pkg_setup() { vdr-plugin_pkg_setup - grep -q SetGroupSep ${VDR_INCLUDE_DIR}/vdr/channels.h || die "Unpatched vdr detected!" + if ! grep -q SetGroupSep ${VDR_INCLUDE_DIR}/vdr/channels.h; then + ewarn "Your vdr has not been patched with the SetGroupSep-Patch." + die "Unpatched vdr detected!" + fi } src_install() { |