Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 216716
Collapse All | Expand All

(-)hprofile-2.0_beta2.ebuild (-1 / +9 lines)
Lines 9-15 Link Here
9
LICENSE="GPL-2"
9
LICENSE="GPL-2"
10
SLOT="0"
10
SLOT="0"
11
KEYWORDS="~x86 ~amd64"
11
KEYWORDS="~x86 ~amd64"
12
IUSE=""
12
IUSE="rootfs"
13
13
14
DEPEND=">=app-shells/bash-2.0
14
DEPEND=">=app-shells/bash-2.0
15
	>=app-admin/sudo-1.6"
15
	>=app-admin/sudo-1.6"
Lines 20-28 Link Here
20
	for f in $(grep /usr/local * -rl) ; do
20
	for f in $(grep /usr/local * -rl) ; do
21
		sed -i 's:/usr/local:/usr:g' ${f}
21
		sed -i 's:/usr/local:/usr:g' ${f}
22
	done
22
	done
23
	if use rootfs ; then
24
		for f in $(grep /usr/sbin * -rl) ; do
25
			sed -i 's:/usr/sbin:/sbin:g' ${f}
26
		done
27
	fi
23
}
28
}
24
29
25
src_install() {
30
src_install() {
31
	if use rootfs ; then
32
		into /
33
	fi
26
	dosbin scripts/* || die "dosbin"
34
	dosbin scripts/* || die "dosbin"
27
35
28
	dodir /etc/hprofile
36
	dodir /etc/hprofile

Return to bug 216716