mirror of
https://github.com/javalsai/lidm.git
synced 2025-07-03 06:15:03 +02:00
oops: add openrc install detection
This commit is contained in:
parent
ae4e4df7cd
commit
2fb0e0e0de
2
Makefile
2
Makefile
@ -50,6 +50,8 @@ install-service:
|
||||
make install-service-dinit; \
|
||||
elif command -v sv &> /dev/null; then \
|
||||
make install-service-runit; \
|
||||
elif command -v rc-update &> /dev/null; then \
|
||||
make install-service-openrc; \
|
||||
else \
|
||||
printf '\x1b[1;31m%s\x1b[0m\n' "Unknown init system, skipping service install..."; \
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user