diff options
author | Mike Frysinger <vapier@gentoo.org> | 2007-03-10 14:23:43 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2007-03-10 14:23:43 +0000 |
commit | 984f85d59c2244340cf56545316c5eae089ea3fa (patch) | |
tree | a324799b7c12cc72c6fc10a2c5bd15be2d41f649 /media-plugins/vdr-autosort | |
parent | Remove references to $ROOT from src_install (#168039). (diff) | |
download | gentoo-2-984f85d59c2244340cf56545316c5eae089ea3fa.tar.gz gentoo-2-984f85d59c2244340cf56545316c5eae089ea3fa.tar.bz2 gentoo-2-984f85d59c2244340cf56545316c5eae089ea3fa.zip |
stop using $IMAGE
(Portage version: 2.1.2.2)
Diffstat (limited to 'media-plugins/vdr-autosort')
-rw-r--r-- | media-plugins/vdr-autosort/vdr-autosort-0.0.10.ebuild | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/media-plugins/vdr-autosort/vdr-autosort-0.0.10.ebuild b/media-plugins/vdr-autosort/vdr-autosort-0.0.10.ebuild index fa394482f420..5f50d242b5fb 100644 --- a/media-plugins/vdr-autosort/vdr-autosort-0.0.10.ebuild +++ b/media-plugins/vdr-autosort/vdr-autosort-0.0.10.ebuild @@ -1,22 +1,21 @@ -# Copyright 2003-2007 Gentoo Foundation +# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-autosort/vdr-autosort-0.0.10.ebuild,v 1.2 2007/01/05 16:23:55 hd_brummy Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-autosort/vdr-autosort-0.0.10.ebuild,v 1.3 2007/03/10 14:23:43 vapier Exp $ -IUSE="" inherit vdr-plugin eutils DESCRIPTION="VDR plugin: Auto-sort channels.conf" HOMEPAGE="http://www.copypointburscheid.de/linux/autosort.htm" SRC_URI="http://www.copypointburscheid.de/linux/${P}.tgz" -KEYWORDS="~x86" -SLOT="0" LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="" DEPEND=">=media-video/vdr-1.3.32" -src_install() -{ +src_install() { vdr-plugin_src_install insinto /etc/vdr/plugins doins autosort.conf @@ -24,14 +23,13 @@ src_install() pkg_preinst() { if [[ ! -L ${ROOT}/etc/vdr/channels.conf ]]; then - cp ${ROOT}/etc/vdr/channels.conf ${IMAGE}/etc/vdr/channels.conf.autosort.bak + cp "${ROOT}"/etc/vdr/channels.conf "${D}"/etc/vdr/channels.conf.autosort.bak fowners vdr:vdr /etc/vdr/channels.conf.autosort.bak fi } -pkg_postinst() -{ +pkg_postinst() { vdr-plugin_pkg_postinst echo elog "You will find a backup of your channels.conf in /etc/vdr/channels.conf.autosort.bak" |