Update install.sh

This commit is contained in:
qiaofeng1227 2024-01-30 14:10:58 +08:00 committed by GitHub
parent 0441733233
commit 9d04bc1ea2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -460,27 +460,27 @@ install_systemd() {
#--------------- main----------------------------------------- #--------------- main-----------------------------------------
check_ports $http_port $https_port $port check_ports $http_port $https_port $port | tee -a $path/install.log
install_tools install_tools | tee -a $path/install.log
download_source download_source | tee -a $path/install.log
bash $install_path/install/install_docker.sh bash $install_path/install/install_docker.sh | tee -a $path/install.log
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then
echo "install_docker failed with error $?. Exiting." echo "install_docker failed with error $?. Exiting."
exit 1 exit 1
fi fi
install_backends install_backends | tee -a $path/install.log
install_systemd install_systemd | tee -a $path/install.log
bash $install_path/install/install_cockpit.sh bash $install_path/install/install_cockpit.sh | tee -a $path/install.log
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then
echo "install_cockpit failed with error $?. Exiting." echo "install_cockpit failed with error $?. Exiting."
exit 1 exit 1
fi fi
bash $install_path/install/install_plugins.sh bash $install_path/install/install_plugins.sh | tee -a $path/install.log
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then
echo "install_plugins failed with error $?. Exiting." echo "install_plugins failed with error $?. Exiting."
exit 1 exit 1