summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-03-10 14:24:28 +0000
committerMike Frysinger <vapier@gentoo.org>2007-03-10 14:24:28 +0000
commitd49fe1296d6d14ce9a0a326ab34a15995d65ab63 (patch)
tree809580e8fea6d65a90cb3e03e40456065a4058a5 /media-plugins/vdr-setup
parentstop using $IMAGE (diff)
downloadgentoo-2-d49fe1296d6d14ce9a0a326ab34a15995d65ab63.tar.gz
gentoo-2-d49fe1296d6d14ce9a0a326ab34a15995d65ab63.tar.bz2
gentoo-2-d49fe1296d6d14ce9a0a326ab34a15995d65ab63.zip
stop using $IMAGE
(Portage version: 2.1.2.2)
Diffstat (limited to 'media-plugins/vdr-setup')
-rw-r--r--media-plugins/vdr-setup/vdr-setup-0.3.1.ebuild9
1 files changed, 4 insertions, 5 deletions
diff --git a/media-plugins/vdr-setup/vdr-setup-0.3.1.ebuild b/media-plugins/vdr-setup/vdr-setup-0.3.1.ebuild
index b785a83e2646..3ecf3e1782ae 100644
--- a/media-plugins/vdr-setup/vdr-setup-0.3.1.ebuild
+++ b/media-plugins/vdr-setup/vdr-setup-0.3.1.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.ebuild,v 1.7 2007/01/05 16:47:35 hd_brummy Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-setup/vdr-setup-0.3.1.ebuild,v 1.8 2007/03/10 14:24:28 vapier Exp $
inherit vdr-plugin
@@ -54,11 +54,10 @@ src_install() {
}
pkg_preinst() {
-
if [[ ! -L ${ROOT}/etc/vdr/channels.conf ]]; then
- cp ${ROOT}/etc/vdr/channels.conf ${IMAGE}/etc/vdr/channels.d/channels.conf.bak
- cp ${ROOT}/etc/vdr/channels.conf ${IMAGE}/etc/vdr/channels.d/channels.conf
- fowners vdr:vdr /etc/vdr/channels.d/{channels.conf,channels.conf.bak}
+ cp "${ROOT}"/etc/vdr/channels.conf "${D}"/etc/vdr/channels.d/channels.conf.bak
+ cp "${ROOT}"/etc/vdr/channels.conf "${D}"/etc/vdr/channels.d/channels.conf
+ fowners vdr:vdr /etc/vdr/channels.d/{channels.conf,channels.conf.bak}
fi
}