aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorartoo <artoo@artixlinux.org>2021-09-09 00:03:04 +0200
committerartoo <artoo@artixlinux.org>2021-09-09 00:03:04 +0200
commit3f098817ef26738e05039da8f191a5ddc0f78b43 (patch)
treec7d3b6061133be94e260e04d08aed17a2e2f591a
parenta25ccbd8f2d5198e1b9f63d6ae944635e2ff64e7 (diff)
meson: fix symlinks with sysvinit
-rwxr-xr-xscripts/meson_script_links.sh4
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