From 3f098817ef26738e05039da8f191a5ddc0f78b43 Mon Sep 17 00:00:00 2001 From: artoo Date: Thu, 9 Sep 2021 00:03:04 +0200 Subject: [PATCH] meson: fix symlinks with sysvinit --- scripts/meson_script_links.sh | 4 ++-- 1 file 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