From f88270f0dc1e0d20248f81e89fcb31bb7e98c84d Mon Sep 17 00:00:00 2001 From: Michael <46098233+wangcy2018@users.noreply.github.com> Date: Sat, 22 Oct 2022 23:21:56 +0800 Subject: [PATCH] Update install.sh (#17487) Modify the support for KylinSec system --- packaging/tools/install.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packaging/tools/install.sh b/packaging/tools/install.sh index d74a962210..6e64d77525 100755 --- a/packaging/tools/install.sh +++ b/packaging/tools/install.sh @@ -105,6 +105,10 @@ elif echo $osinfo | grep -qwi "debian"; then elif echo $osinfo | grep -qwi "Kylin"; then # echo "This is Kylin system" os_type=1 +elif echo $osinfo | grep -qwi "KylinSec"; then + # echo "This is KylinSec system" + os_type=2 + csudo="" elif echo $osinfo | grep -qwi "Red"; then # echo "This is Red Hat system" os_type=1 -- GitLab