From 7ac186252b9b6a9923c4a7997fca99b6ea6cb2ef Mon Sep 17 00:00:00 2001 From: qiaofeng1227 <76487013@qq.com> Date: Thu, 1 Sep 2022 14:22:27 +0800 Subject: [PATCH] Update install.sh --- scripts/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install.sh b/scripts/install.sh index ecf59a4d..c6d9905c 100644 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -76,7 +76,7 @@ sudo git clone --depth=1 https://github.com/Websoft9/stackhub.git cd stackhub/apps sudo echo "localhost" > hosts ansible-playbook -i hosts application.yml -c local -e init=$repo_init -e appname=$repo_name -if [ $init -ne 0 ]; then +if [ $repo_init -ne 0 ]; then echo "Image build success!" else echo "System must restart after 2s, then installation completed"; sleep 2 ; sudo reboot