install_qa_check_prefix: drop removal of etc/{init,conf}.d files
authorFabian Groffen <grobian@gentoo.org>
Sun, 12 Aug 2012 07:43:34 +0000 (09:43 +0200)
committerZac Medico <zmedico@gentoo.org>
Sat, 9 Mar 2013 07:52:36 +0000 (23:52 -0800)
This allows to use OpenRC on Prefix systems.

Signed-off-by: XU Benda <heroxbd@gmail.com>
bin/misc-functions.sh

index 18a5d55b72848eba6ad4a973d79b3a916ff91c48..ce3d68129c8659d87efc7b25a38a80150a0af608 100755 (executable)
@@ -882,16 +882,6 @@ install_qa_check_prefix() {
        # all further checks rely on ${ED} existing
        [[ -d ${ED} ]] || return
 
-       # this does not really belong here, but it's closely tied to
-       # the code below; many runscripts generate positives here, and we
-       # know they don't work (bug #196294) so as long as that one
-       # remains an issue, simply remove them as they won't work
-       # anyway, avoid etc/init.d/functions.sh from being thrown away
-       if [[ ( -d "${ED}"/etc/conf.d || -d "${ED}"/etc/init.d ) && ! -f "${ED}"/etc/init.d/functions.sh ]] ; then
-               ewarn "removed /etc/init.d and /etc/conf.d directories until bug #196294 has been resolved"
-               rm -Rf "${ED}"/etc/{conf,init}.d
-       fi
-
        # check shebangs, bug #282539
        rm -f "${T}"/non-prefix-shebangs-errs
        local WHITELIST=" /usr/bin/env "