diff options
Diffstat (limited to 'sh/gendepends.sh.in')
-rw-r--r-- | sh/gendepends.sh.in | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sh/gendepends.sh.in b/sh/gendepends.sh.in index 461c6882..dfe7444b 100644 --- a/sh/gendepends.sh.in +++ b/sh/gendepends.sh.in @@ -51,10 +51,12 @@ do for RC_SERVICE in *; do [ -x "$RC_SERVICE" -a -f "$RC_SERVICE" ] || continue - # Only generate dependencies for runscripts + # Only generate dependencies for OpenRC scripts read one two three <"$RC_SERVICE" [ "$one" = "#!@SBINDIR@/runscript" ] || \ + [ "$one" = "#!@SBINDIR@/openrc-run" ] || \ [ "$one" = "#!" -a "$two" = "@SBINDIR@/runscript" ] || \ + [ "$one" = "#!" -a "$two" = "@SBINDIR@/openrc-run" ] || \ continue unset one two three |