From 69bf3625dcb7516cd03485effce64f07195f6664 Mon Sep 17 00:00:00 2001 From: Shuduo Sang Date: Thu, 6 Apr 2023 18:32:28 +0800 Subject: [PATCH] fix: install script (#20794) * fix: install.sh * fix: install.sh --- packaging/tools/install.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/packaging/tools/install.sh b/packaging/tools/install.sh index a3f8b53d33..3ff59498ba 100755 --- a/packaging/tools/install.sh +++ b/packaging/tools/install.sh @@ -79,6 +79,13 @@ if command -v sudo >/dev/null; then csudo="sudo " fi +if command -v install >/dev/null; then + echo "" > /dev/null +else + echo -e "${RED} Not found install utility, exit! ${NC}" + exit 1 +fi + update_flag=0 prompt_force=0 -- GitLab