possibly multiple installers
This commit is contained in:
parent
41d36a4eb9
commit
0a0f37f85c
|
@ -114,11 +114,16 @@ install_for_launchd()
|
||||||
|
|
||||||
install_service()
|
install_service()
|
||||||
{
|
{
|
||||||
|
installable=""
|
||||||
if [ -d "$PREFIX/etc/systemd/system" ]; then
|
if [ -d "$PREFIX/etc/systemd/system" ]; then
|
||||||
install_for_systemd
|
install_for_systemd
|
||||||
elif [ -d "/Library/LaunchAgents" ]; then
|
installable="true"
|
||||||
|
fi
|
||||||
|
if [ -d "/Library/LaunchDaemons" ]; then
|
||||||
install_for_launchd
|
install_for_launchd
|
||||||
else
|
installable="true"
|
||||||
|
fi
|
||||||
|
if [ -z "$installable" ]; then
|
||||||
echo ""
|
echo ""
|
||||||
echo "Unknown system service init type. You must install as a system service manually."
|
echo "Unknown system service init type. You must install as a system service manually."
|
||||||
echo '(please file a bug with the output of "uname -a")'
|
echo '(please file a bug with the output of "uname -a")'
|
||||||
|
|
Loading…
Reference in New Issue