fix: install script (#20794)

* fix: install.sh

* fix: install.sh
This commit is contained in:
Shuduo Sang 2023-04-06 18:32:28 +08:00 committed by GitHub
parent 98b74d696b
commit 69bf3625dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 0 deletions

View File

@ -79,6 +79,13 @@ if command -v sudo >/dev/null; then
csudo="sudo " csudo="sudo "
fi 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 update_flag=0
prompt_force=0 prompt_force=0