Skip to content

Commit cafbb17

Browse files
author
bol-van
committed
install_easy: make systemd if systemd detected
1 parent 9ac73f7 commit cafbb17

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

install_easy.sh

+8-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,14 @@ check_bins()
6969
echo found architecture "\"$arch\""
7070
elif [ -f "$EXEDIR/Makefile" ] && exists make; then
7171
echo trying to compile
72-
[ "$SYSTEM" = "macos" ] && make_target=mac
72+
case $SYSTEM in
73+
macos)
74+
make_target=mac
75+
;;
76+
systemd)
77+
make_target=systemd
78+
;;
79+
esac
7380
CFLAGS="-march=native ${CFLAGS}" make -C "$EXEDIR" $make_target || {
7481
echo could not compile
7582
make -C "$EXEDIR" clean

0 commit comments

Comments
 (0)