提交 f15b14b8 编写于 作者: H hzcheng

Add make install error handle

上级 cd1117a7
...@@ -207,7 +207,7 @@ function install_service_on_systemd() { ...@@ -207,7 +207,7 @@ function install_service_on_systemd() {
function install_service() { function install_service() {
if is_using_systemd; then if is_using_systemd; then
install_service_on_systemd install_service_on_systemd
else elif $(which update-rc.d &> /dev/null); then
install_service_on_sysvinit install_service_on_sysvinit
fi fi
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册