diff options
author | Matthias Schwarzott <zzam@gentoo.org> | 2007-12-11 11:13:00 +0000 |
---|---|---|
committer | Matthias Schwarzott <zzam@gentoo.org> | 2007-12-11 11:13:00 +0000 |
commit | 45e930fa5135e37c191041d09547a51fc6899c87 (patch) | |
tree | 4a816660bccce8bcf5e316ecf572da18c0959840 /media-plugins/vdr-setup | |
parent | arm/sh stable (diff) | |
download | gentoo-2-45e930fa5135e37c191041d09547a51fc6899c87.tar.gz gentoo-2-45e930fa5135e37c191041d09547a51fc6899c87.tar.bz2 gentoo-2-45e930fa5135e37c191041d09547a51fc6899c87.zip |
Improved error message for unpatched vdr.
(Portage version: 2.1.4_rc9)
Diffstat (limited to 'media-plugins/vdr-setup')
-rw-r--r-- | media-plugins/vdr-setup/ChangeLog | 6 | ||||
-rw-r--r-- | media-plugins/vdr-setup/vdr-setup-0.3.1-r1.ebuild | 15 |
2 files changed, 16 insertions, 5 deletions
diff --git a/media-plugins/vdr-setup/ChangeLog b/media-plugins/vdr-setup/ChangeLog index 4586823102e5..94592356fb37 100644 --- a/media-plugins/vdr-setup/ChangeLog +++ b/media-plugins/vdr-setup/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-plugins/vdr-setup # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-setup/ChangeLog,v 1.19 2007/10/21 20:53:03 hd_brummy Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-setup/ChangeLog,v 1.20 2007/12/11 11:13:00 zzam Exp $ + + 11 Dec 2007; Matthias Schwarzott <zzam@gentoo.org> + vdr-setup-0.3.1-r1.ebuild: + Improved error message for unpatched vdr. 21 Oct 2007; Joerg Bornkessel <hd_brummy@gentoo.org> vdr-setup-0.3.1-r1.ebuild: diff --git a/media-plugins/vdr-setup/vdr-setup-0.3.1-r1.ebuild b/media-plugins/vdr-setup/vdr-setup-0.3.1-r1.ebuild index 23ac05349227..f342a0999353 100644 --- a/media-plugins/vdr-setup/vdr-setup-0.3.1-r1.ebuild +++ b/media-plugins/vdr-setup/vdr-setup-0.3.1-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-setup/vdr-setup-0.3.1-r1.ebuild,v 1.3 2007/10/21 20:53:03 hd_brummy Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-setup/vdr-setup-0.3.1-r1.ebuild,v 1.4 2007/12/11 11:13:00 zzam Exp $ inherit vdr-plugin @@ -35,11 +35,18 @@ pkg_setup() { echo eerror "Patched VDR needed" echo + local flag="setup-plugin" if has_version ">=media-video/vdr-1.4.7" ; then - elog "reemerge VDR with USE=\"setup\" " && die "unpack failed, patched VDR needed" - else - elog "reemerge VDR with USE=\"setup-plugin\" " && die "unpack failed, patched VDR needed" + flag="setup" fi + + ewarn "you need to reemerge VDR with USE=\"${flag}\"" + ewarn + ewarn "If you did USE=\"${flag}\" emerge vdr" + ewarn 'and it failed with this message, then try' + ewarn "\tUSE=\"${flag}\" emerge vdr vdr-setup" + + die "unpack failed, patched VDR needed" fi } |