Skip to content

Commit

Permalink
Update install.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
mzwrt authored Jun 26, 2024
1 parent 561b679 commit b0d6b5d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -527,10 +527,12 @@ Install_Python_Lib() {
fi
if [ "${os_version}" != "" ]; then
pyenv_file="/www/pyenv.tar.gz"
wget --no-check-certificate -O $pyenv_file $download_Url/install/pyenv/pyenv-${os_type}${os_version}-x${is64bit}.tar.gz -T 15
#wget --no-check-certificate -O $pyenv_file $download_Url/install/pyenv/pyenv-${os_type}${os_version}-x${is64bit}.tar.gz -T 15
wget --no-check-certificate -O $pyenv_file https://github.com/mzwrt/aapanel-6.8.37-backup/releases/download/python/pyenv-${os_type}${os_version}-x${is64bit}.tar.gz -T 15
if [ "$?" != "0" ];then
get_node_url $download_Url
wget --no-check-certificate -O $pyenv_file $download_Url/install/pyenv/pyenv-${os_type}${os_version}-x${is64bit}.tar.gz -T 15
#wget --no-check-certificate -O $pyenv_file $download_Url/install/pyenv/pyenv-${os_type}${os_version}-x${is64bit}.tar.gz -T 15
wget --no-check-certificate -O $pyenv_file https://github.com/mzwrt/aapanel-6.8.37-backup/releases/download/python/pyenv-${os_type}${os_version}-x${is64bit}.tar.gz -T 15
fi
tmp_size=$(du -b $pyenv_file | awk '{print $1}')
if [ $tmp_size -lt 703460 ]; then
Expand Down

0 comments on commit b0d6b5d

Please sign in to comment.