From 3247184d860aea7ccc2c58d399f62c088978e973 Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Wed, 25 Jan 2012 11:42:32 -0600 Subject: Remove prefix support I spoke with the prefix team sometime back and was told that they do not have an interest in using OpenRC on prefix systems. --- runlevels/Makefile | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) (limited to 'runlevels') diff --git a/runlevels/Makefile b/runlevels/Makefile index 1573572e..468a3753 100644 --- a/runlevels/Makefile +++ b/runlevels/Makefile @@ -41,34 +41,24 @@ install: if ! test -d "${SYSINITDIR}"; then \ ${INSTALL} -d ${SYSINITDIR} || exit $$?; \ for x in ${SYSINIT}; do \ - if test -n "${PREFIX}"; then \ - grep -q "keyword .*noprefix" ${INITDIR}/"$$x" && continue; \ - fi; \ - ln -snf ${PREFIX}/etc/init.d/"$$x" ${SYSINITDIR}/"$$x" || exit $$?; done \ + ln -snf ${PREFIX}/etc/init.d/"$$x" ${SYSINITDIR}/"$$x" || exit $$?; \ + done \ fi if ! test -d "${BOOTDIR}"; then \ ${INSTALL} -d ${BOOTDIR} || exit $$?; \ for x in ${BOOT}; do \ - if test -n "${PREFIX}"; then \ - grep -q "keyword .*noprefix" ${INITDIR}/"$$x" && continue; \ - fi; \ ln -snf ${PREFIX}/etc/init.d/"$$x" ${BOOTDIR}/"$$x" || exit $$?; \ done \ fi if ! test -d "${DEFAULTDIR}"; then \ ${INSTALL} -d ${DEFAULTDIR} || exit $$?; \ for x in ${DEFAULT}; do \ - if test -n "${PREFIX}"; then \ - grep -q "keyword .*noprefix" ${INITDIR}/"$$x" && continue; \ - fi; \ - ln -snf ${PREFIX}/etc/init.d/"$$x" ${DEFAULTDIR}/"$$x" || exit $$?; done \ + ln -snf ${PREFIX}/etc/init.d/"$$x" ${DEFAULTDIR}/"$$x" || exit $$?; \ + done \ fi if ! test -d "${SHUTDOWNDIR}"; then \ ${INSTALL} -d ${SHUTDOWNDIR} || exit $$?; \ for x in ${SHUTDOWN}; do \ - if test -n "${PREFIX}"; then \ - grep -q "keyword .*noprefix" ${INITDIR}/"$$x" && continue; \ - fi; \ ln -snf ${PREFIX}/etc/init.d/"$$x" ${SHUTDOWNDIR}/"$$x" || exit $$?; done \ fi -- cgit v1.2.3