diff options
author | udeved <artoo@manjaro.org> | 2017-06-09 21:58:59 +0200 |
---|---|---|
committer | William Hubbs <w.d.hubbs@gmail.com> | 2017-06-12 10:38:47 -0500 |
commit | 5b7667af32effddf867a5d021c66d43f0645d374 (patch) | |
tree | 3f656936b5a967dd18a3840074ed12359d2993c0 /scripts/Makefile | |
parent | 11243f85b67e5f450ddf50346ffd4a1b2c6faeb5 (diff) |
scripts/Makefile: respect SBINDIR with MKSYSVINIT
This is for #142.
Diffstat (limited to 'scripts/Makefile')
-rw-r--r-- | scripts/Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/Makefile b/scripts/Makefile index faa46b0e..5cca07bc 100644 --- a/scripts/Makefile +++ b/scripts/Makefile @@ -19,11 +19,11 @@ ifeq (${OS},Linux) ${INSTALL} -d ${DESTDIR}${SBINDIR} ln -sf ../${DIR}/rc-sstat ${DESTDIR}/${SBINDIR}/rc-sstat ifeq (${MKSYSVINIT},yes) - ln -sf ../${DIR}/halt ${DESTDIR}/sbin/halt - ln -sf ../${DIR}/poweroff ${DESTDIR}/sbin/poweroff - ln -sf ../${DIR}/reboot ${DESTDIR}/sbin/reboot - ln -sf ../${DIR}/shutdown ${DESTDIR}/sbin/shutdown - ln -sf openrc-init ${DESTDIR}/sbin/init + ln -sf ../${DIR}/halt ${DESTDIR}/${SBINDIR}/halt + ln -sf ../${DIR}/poweroff ${DESTDIR}/${SBINDIR}/poweroff + ln -sf ../${DIR}/reboot ${DESTDIR}/${SBINDIR}/reboot + ln -sf ../${DIR}/shutdown ${DESTDIR}/${SBINDIR}/shutdown + ln -sf openrc-init ${DESTDIR}/${SBINDIR}/init endif endif |