From c4a54605e0429d7195aae2f3c39f2d371f13c992 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Sat, 8 Mar 2008 15:22:29 +0000 Subject: Support baselayout-2 uppercase RC_NEED vars, #38. --- sh/gendepends.sh.in | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/sh/gendepends.sh.in b/sh/gendepends.sh.in index b09ea16b..e42a6b89 100644 --- a/sh/gendepends.sh.in +++ b/sh/gendepends.sh.in @@ -84,6 +84,13 @@ do [ -z "${_depends}" ] && eval _depends=\$rc_${_deptype} ${_deptype} ${_depends} done + + for _deptype in CONFIG NEED USE AFTER BEFORE PROVIDE KEYWORD; do + eval _depends=\$rc_$(shell_var "${SVCNAME}")_${_deptype} + [ -z "${_depends}" ] && eval _depends=\$RC_${_deptype} + ${_deptype} ${_depends} + done + fi ) done -- cgit v1.2.3