summaryrefslogtreecommitdiff
path: root/sh/gendepends.sh.in
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2013-12-21 14:51:11 -0600
committerWilliam Hubbs <w.d.hubbs@gmail.com>2013-12-29 22:57:31 -0600
commit3470eda3f5cea437a6de132b1ead3f27effd3902 (patch)
treed360366f33bad25da13ff204c5ade7ce29098255 /sh/gendepends.sh.in
parentc096ad63caba72684010f446ecee87751da78e65 (diff)
downloadopenrc-master.tar.gz
openrc-master.tar.bz2
openrc-master.tar.xz
Rename runscript to openrc-runHEADmaster
This was requested by Debian, because the minicom software, which is available on Debian and other distros, has a binary named runscript. We are keeping a backward compatibility symlink for now, but this allows Debian or any other distro to safely remove the symlink. X-Gentoo-Bug: 494220 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=494220
Diffstat (limited to 'sh/gendepends.sh.in')
-rw-r--r--sh/gendepends.sh.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/sh/gendepends.sh.in b/sh/gendepends.sh.in
index 461c688..dfe7444 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