diff options
author | artoo <artoo@artixlinux.org> | 2021-09-09 00:03:04 +0200 |
---|---|---|
committer | artoo <artoo@artixlinux.org> | 2021-09-09 00:03:04 +0200 |
commit | 3f098817ef26738e05039da8f191a5ddc0f78b43 (patch) | |
tree | c7d3b6061133be94e260e04d08aed17a2e2f591a /scripts | |
parent | a25ccbd8f2d5198e1b9f63d6ae944635e2ff64e7 (diff) |
meson: fix symlinks with sysvinit
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/meson_script_links.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/meson_script_links.sh b/scripts/meson_script_links.sh index d49a433d..f13e767d 100755 --- a/scripts/meson_script_links.sh +++ b/scripts/meson_script_links.sh @@ -8,12 +8,12 @@ sbindir="$2" binaries=" halt poweroff rc-sstat reboot shutdown" for f in $binaries; do if [ -x "${DESTDIR}${rc_libexecdir}/bin/${f}" ]; then - ln -snf "${DESTDIR}${rc_libexecdir}/bin/${f}" \ + ln -snf "${rc_libexecdir}/bin/${f}" \ "${DESTDIR}${sbindir}/${f}" fi done # sysvinit is active when halt exits if [ -x "${DESTDIR}${rc_libexecdir}/bin/halt" ]; then - ln -snf "${DESTDIR}${sbindir}/openrc-init" \ + ln -snf "${sbindir}/openrc-init" \ "${DESTDIR}${sbindir}/init" fi |