BG5 commited on
Commit
7f9d042
·
verified ·
1 Parent(s): f9fa9e3

Update install.sh

Browse files
Files changed (1) hide show
  1. install.sh +4 -3
install.sh CHANGED
@@ -555,6 +555,7 @@ End(){
555
  ((out_time=($end_time-$start_time)))
556
  echo -e "安装花费时间:\033[32m $out_time \033[0m秒"
557
  echo -e "安装日志路径:\033[32m $INSTALL_LOG_PATH \033[0m"
 
558
  }
559
 
560
  Install_Tip(){
@@ -697,7 +698,7 @@ Install_Main(){
697
  Init_XP
698
  Add_Service
699
  End
700
-
701
  Analysis_Log
702
  exit 0
703
  }
@@ -751,7 +752,7 @@ d='{"hostname": "'${hostname_check}'", "cpu": "'${CPU_INFO}'", "memory": "'${MEM
751
  curl -s -X POST -H "Content-Type: application/json" -d "${d}" "${API_HOST}/api/addInstallInfo" 2>&1 >/dev/null
752
 
753
  Install_Main
754
-
755
  # 安装完成删除安装包
756
  rm -f $SETUP_PATH/download/xp-panel.tar.gz
757
- exit 0;
 
555
  ((out_time=($end_time-$start_time)))
556
  echo -e "安装花费时间:\033[32m $out_time \033[0m秒"
557
  echo -e "安装日志路径:\033[32m $INSTALL_LOG_PATH \033[0m"
558
+ exit 0
559
  }
560
 
561
  Install_Tip(){
 
698
  Init_XP
699
  Add_Service
700
  End
701
+ exit 0
702
  Analysis_Log
703
  exit 0
704
  }
 
752
  curl -s -X POST -H "Content-Type: application/json" -d "${d}" "${API_HOST}/api/addInstallInfo" 2>&1 >/dev/null
753
 
754
  Install_Main
755
+ exit 0
756
  # 安装完成删除安装包
757
  rm -f $SETUP_PATH/download/xp-panel.tar.gz
758
+ exit 0