Skip to content

Commit

Permalink
Update install.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
mikewubox authored Aug 16, 2019
1 parent 46e0721 commit 3cf1382
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ install_v2-ui() {
fi
last_version=$(curl -Ls "https://api.github.com/repos/mikewubox/v2-ui/releases/latest" | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/')
echo -e "检测到v2-ui最新版本:${last_version},开始安装"
wget -N --no-check-certificate -O /usr/local/v2-ui-linux.tar.gz https://github.com/mikewubox/v2-ui/raw/master/v2-ui-4.3.0.tar.gz
wget -N --no-check-certificate -O /usr/local/v2-ui-linux.tar.gz https://github.com/mikewubox/v2-ui/blob/master/v2-ui-linux.tar.gz
if [[ $? -ne 0 ]]; then
echo -e "${red}下载v2-ui失败,请确保你的服务器能够下载Github的文件,如果多次安装失败,请参考手动安装教程${plain}"
exit 1
Expand Down

0 comments on commit 3cf1382

Please sign in to comment.