aboutsummaryrefslogtreecommitdiff
path: root/sh
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-03-08 15:22:29 +0000
committerRoy Marples <roy@marples.name>2008-03-08 15:22:29 +0000
commitc4a54605e0429d7195aae2f3c39f2d371f13c992 (patch)
tree217a3a69ed716ccf82610b0efa3706c0dda20fe6 /sh
parentdf1377601b14ed7d9375f646ed58d6a4ad76e278 (diff)
Support baselayout-2 uppercase RC_NEED vars, #38.
Diffstat (limited to 'sh')
-rw-r--r--sh/gendepends.sh.in7
1 files changed, 7 insertions, 0 deletions
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