b2c4eb97b5
It is apparently for a piece of code that no longer exist. There don't seem to be any part of the code referring to this directory (anymore, if there was).
18 lines
356 B
Bash
Executable File
18 lines
356 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -e
|
|
set -u
|
|
|
|
rc_libexecdir="$1"
|
|
sbindir="$2"
|
|
os="$3"
|
|
sysvinit="$4"
|
|
|
|
if [ "${os}" != Linux ]; then
|
|
install -d "${DESTDIR}/${rc_libexecdir}"/init.d
|
|
fi
|
|
install -m 644 "${MESON_BUILD_ROOT}/src/shared/version" "${DESTDIR}/${rc_libexecdir}"
|
|
if [ "${os}" = Linux ] && [ "${sysvinit}" = yes ]; then
|
|
ln -s openrc-init "${DESTDIR}/${sbindir}"/init
|
|
fi
|