summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-06-10 00:49:48 +0000
committerMike Frysinger <vapier@gentoo.org>2007-06-10 00:49:48 +0000
commitc3a725f9945cf181dae493783a35ae1a84f7a799 (patch)
tree699d12a70ce3c1633e0c169d8283d8507e0d1e4c /sys-apps/module-init-tools/module-init-tools-3.2.2-r3.ebuild
parentVersion bump. (diff)
downloadgentoo-2-c3a725f9945cf181dae493783a35ae1a84f7a799.tar.gz
gentoo-2-c3a725f9945cf181dae493783a35ae1a84f7a799.tar.bz2
gentoo-2-c3a725f9945cf181dae493783a35ae1a84f7a799.zip
fix ROOT bug with /etc/init.d/modules update pointed out by pioto
(Portage version: 2.1.2.9)
Diffstat (limited to 'sys-apps/module-init-tools/module-init-tools-3.2.2-r3.ebuild')
-rw-r--r--sys-apps/module-init-tools/module-init-tools-3.2.2-r3.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys-apps/module-init-tools/module-init-tools-3.2.2-r3.ebuild b/sys-apps/module-init-tools/module-init-tools-3.2.2-r3.ebuild
index 8313604ca84a..6124e89f23c5 100644
--- a/sys-apps/module-init-tools/module-init-tools-3.2.2-r3.ebuild
+++ b/sys-apps/module-init-tools/module-init-tools-3.2.2-r3.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/sys-apps/module-init-tools/module-init-tools-3.2.2-r3.ebuild,v 1.1 2007/04/13 18:28:43 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/module-init-tools/module-init-tools-3.2.2-r3.ebuild,v 1.2 2007/06/10 00:49:48 vapier Exp $
inherit flag-o-matic eutils toolchain-funcs fixheadtails
@@ -161,6 +161,6 @@ src_install() {
pkg_postinst() {
# cheat to keep users happy
if [[ -e ${ROOT}/etc/init.d/modules ]] ; then
- sed -i 's:modules-update:update-modules:' /etc/init.d/modules
+ sed -i 's:modules-update:update-modules:' "${ROOT}"/etc/init.d/modules
fi
}