--- hprofile-2.0_beta2.ebuild 2007-04-28 19:36:12.000000000 +0200 +++ hprofile-2.0_beta2-r1.ebuild 2008-04-06 20:21:45.238174000 +0200 @@ -9,7 +9,7 @@ LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86 ~amd64" -IUSE="" +IUSE="rootfs" DEPEND=">=app-shells/bash-2.0 >=app-admin/sudo-1.6" @@ -20,9 +20,17 @@ for f in $(grep /usr/local * -rl) ; do sed -i 's:/usr/local:/usr:g' ${f} done + if use rootfs ; then + for f in $(grep /usr/sbin * -rl) ; do + sed -i 's:/usr/sbin:/sbin:g' ${f} + done + fi } src_install() { + if use rootfs ; then + into / + fi dosbin scripts/* || die "dosbin" dodir /etc/hprofile