summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorsten Veller <tove@gentoo.org>2007-04-28 16:45:38 +0000
committerTorsten Veller <tove@gentoo.org>2007-04-28 16:45:38 +0000
commit943033a984467e16e659a607ed9a5a70df49d0c7 (patch)
treeb8a1cc34c294757fff1ac52f3ba795feac9ee0c9 /app-admin/verynice
parentDrop dodir from dodir/*into combination. (diff)
downloadgentoo-2-943033a984467e16e659a607ed9a5a70df49d0c7.tar.gz
gentoo-2-943033a984467e16e659a607ed9a5a70df49d0c7.tar.bz2
gentoo-2-943033a984467e16e659a607ed9a5a70df49d0c7.zip
Fix *initd, *confd and *envd calls (#17388, #174266)
(Portage version: 2.1.2.5)
Diffstat (limited to 'app-admin/verynice')
-rw-r--r--app-admin/verynice/ChangeLog5
-rw-r--r--app-admin/verynice/verynice-1.1.ebuild19
2 files changed, 13 insertions, 11 deletions
diff --git a/app-admin/verynice/ChangeLog b/app-admin/verynice/ChangeLog
index aaf9bcc5a665..4dbdece41c39 100644
--- a/app-admin/verynice/ChangeLog
+++ b/app-admin/verynice/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-admin/verynice
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/verynice/ChangeLog,v 1.10 2007/02/21 19:49:27 peper Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/verynice/ChangeLog,v 1.11 2007/04/28 16:45:38 tove Exp $
+
+ 28 Apr 2007; Torsten Veller <tove@gentoo.org> verynice-1.1.ebuild:
+ Fix *initd, *confd and *envd calls (#17388, #174266)
21 Feb 2007; Piotr Jaroszyński <peper@gentoo.org> ChangeLog:
Transition to Manifest2.
diff --git a/app-admin/verynice/verynice-1.1.ebuild b/app-admin/verynice/verynice-1.1.ebuild
index eaeba6eddcfa..8308969908b6 100644
--- a/app-admin/verynice/verynice-1.1.ebuild
+++ b/app-admin/verynice/verynice-1.1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/verynice/verynice-1.1.ebuild,v 1.10 2005/05/01 17:15:23 hansmi Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/verynice/verynice-1.1.ebuild,v 1.11 2007/04/28 16:45:38 tove Exp $
DESCRIPTION="A tool for dynamically adjusting the nice-level of processes"
HOMEPAGE="http://www.tam.cornell.edu/~sdh4/verynice/"
@@ -14,24 +14,23 @@ IUSE=""
S=${WORKDIR}/${PN}
src_compile() {
- emake RPM_BUILD_ROOT=${D} PREFIX=/usr || die "emake failed"
+ emake RPM_BUILD_ROOT="${D}" PREFIX=/usr || die "emake failed"
}
src_install(){
# the install looks for this directory.
dodir /etc/init.d
- einstall RPM_BUILD_ROOT=${D} PREFIX=/usr || die
+ einstall RPM_BUILD_ROOT="${D}" PREFIX=/usr || die
# odd, the config file is installed +x
fperms a-x /etc/verynice.conf
# make the doc install Gentooish
- mv ${D}/usr/share/doc/${P}/* ${T} || die "mv failed"
- dodoc ${T}/{CHANGELOG,README*}
- dohtml ${T}/*
+ mv "${D}"/usr/share/doc/${P}/* "${T}" || die "mv failed"
+ dodoc "${T}"/{CHANGELOG,README*}
+ dohtml "${T}"/*
# html references the COPYING file.
- cp ${T}/COPYING ${D}/usr/share/doc/${P}/html
+ cp "${T}"/COPYING "${D}"/usr/share/doc/${P}/html
- exeinto /etc/init.d
- doexe ${FILESDIR}/verynice || die "doexe failed"
+ doinitd "${FILESDIR}"/verynice || die "doinitd failed"
}