11#! /bin/bash
2+ # wget https://raw.githubusercontent.com/dotnetcore/BootstrapBlazor/refs/heads/main/scripts/linux/deploy.sh
23
34echo " *********************** clean env ***********************"
45sudo rm -fr BootstrapBlazor
@@ -8,7 +9,7 @@ echo "*********************** apt update ***********************"
89sudo apt update
910
1011echo " *********************** install git ***********************"
11- echo yes| sudo apt install git
12+ yes| sudo apt install git
1213
1314echo " *********************** install BootstrapBlazor ***********************"
1415sudo git clone https://gitee.com/LongbowEnterprise/BootstrapBlazor.git
@@ -25,7 +26,7 @@ echo "*********************** install ba.blazor.service ***********************"
2526sudo systemctl enable ba.blazor
2627
2728echo " *********************** install nginx ***********************"
28- echo yes| sudo apt install nginx
29+ yes| sudo apt install nginx
2930
3031echo " *********************** copy nginx config ***********************"
3132sudo cp BootstrapBlazor/scripts/linux/nginx.conf /etc/nginx/
@@ -36,7 +37,7 @@ sudo cp BootstrapBlazor/scripts/linux/cert/* /etc/nginx/cert/
3637
3738echo " *********************** install chrome ***********************"
3839wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
39- sudo yes| sudo apt install ./google-chrome-stable_current_amd64.deb
40+ yes| sudo apt install ./google-chrome-stable_current_amd64.deb
4041
4142echo " *********************** install support font ***********************"
4243sudo apt install fonts-wqy-microhei
0 commit comments