From f15b14b82108530acd9c808476a4f14ad411081d Mon Sep 17 00:00:00 2001 From: hzcheng Date: Tue, 16 Jul 2019 17:04:10 +0800 Subject: [PATCH] Add make install error handle --- packaging/tools/make_install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packaging/tools/make_install.sh b/packaging/tools/make_install.sh index 5176c76a83..89d5ad0177 100755 --- a/packaging/tools/make_install.sh +++ b/packaging/tools/make_install.sh @@ -207,7 +207,7 @@ function install_service_on_systemd() { function install_service() { if is_using_systemd; then install_service_on_systemd - else + elif $(which update-rc.d &> /dev/null); then install_service_on_sysvinit fi } -- GitLab