Rename runscript to openrc-run
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
This commit is contained 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
|
||||
|
||||
|
Reference in New Issue
Block a user