diff options
author | 2007-12-28 15:32:20 +0000 | |
---|---|---|
committer | 2007-12-28 15:32:20 +0000 | |
commit | d4531704beec58af1959aa973a561ba4518dbef3 (patch) | |
tree | e6e8033fa2c89059aad57bc557288122a0247e61 | |
parent | Fix baselayout-1 upgraders. (diff) | |
download | uberlord-d4531704beec58af1959aa973a561ba4518dbef3.tar.gz uberlord-d4531704beec58af1959aa973a561ba4518dbef3.tar.bz2 uberlord-d4531704beec58af1959aa973a561ba4518dbef3.zip |
The gen_usr_ldscript doesn't work for us as the .so and .so.1 aren't in the same directories
-rw-r--r-- | sys-apps/openrc/openrc-0.1.ebuild | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/sys-apps/openrc/openrc-0.1.ebuild b/sys-apps/openrc/openrc-0.1.ebuild index 452a6fd..c4e466b 100644 --- a/sys-apps/openrc/openrc-0.1.ebuild +++ b/sys-apps/openrc/openrc-0.1.ebuild @@ -49,9 +49,6 @@ src_compile() { src_install() { emake $(make_opts) DESTDIR="${D}" install || die - rm "${D}"usr/"${LIBDIR}"/libeinfo.so "${D}"usr/"${LIBDIR}"/librc.so - gen_usr_ldscript libeinfo.so librc.so - # Backup our default runlevels dodir /usr/share/"${PN}" mv "${D}/etc/runlevels" "${D}/usr/share/${PN}" @@ -75,8 +72,8 @@ pkg_preinst() { done fi - # Upgrade out state for baselayout-1 users - if [ ! -e "${ROOT}${LIBDIR}"/init.d/started ]; then + # Upgrade out state for baselayout-1 users + if [ ! -e "${ROOT}${LIBDIR}"/rc/init.d/started ]; then ( [ -e "${ROOT}"etc/conf.d/rc ] && . "${ROOT}etc/conf.d/rc" svcdir=${svcdir:-/var/lib/init.d} |