forked from github/dataease
fix: 修复升级脚本对安装包文件后缀的处理
This commit is contained in:
parent
a9bff32a83
commit
102c975f1e
@ -264,7 +264,7 @@ function upgrade() {
|
||||
echo "使用下载服务器 ${server_url}"
|
||||
cd /tmp
|
||||
|
||||
installer_file="dataease-online-installer-${latest_version}.tar.gz"
|
||||
installer_file="dataease-online-installer-${latest_version}-ce.tar.gz"
|
||||
download_url="https://${server_url}/dataease/dataease/releases/download/${latest_version}/$installer_file"
|
||||
curl -LOk -m 60 -o $installer_file $download_url
|
||||
if [ $? -ne 0 ]; then
|
||||
|
@ -65,7 +65,7 @@ latest_version=$(cat /tmp/de_latest_release)
|
||||
|
||||
echo "开始下载 DataEase ${latest_version} 版本在线安装包"
|
||||
|
||||
installer_file="dataease-online-installer-${latest_version}.tar.gz"
|
||||
installer_file="dataease-online-installer-${latest_version}-ce.tar.gz"
|
||||
download_url="https://${server_url}/dataease/dataease/releases/download/${latest_version}/$installer_file"
|
||||
echo "下载地址: ${download_url}"
|
||||
curl -LOk -m 60 -o $installer_file $download_url
|
||||
|
Loading…
Reference in New Issue
Block a user