anaconda: add bioconda

This commit is contained in:
bigeagle 2017-08-22 16:41:24 +08:00
parent 18849d10cd
commit 724de4fd9c

View File

@ -20,7 +20,7 @@ TMP_DIR=$(mktemp -d)
CONDA_REPOS=("free" "r" "mro" "pro") CONDA_REPOS=("free" "r" "mro" "pro")
CONDA_ARCHES=("noarch" "linux-64" "linux-32" "linux-armv6l" "linux-armv7l" "linux-ppc64le" "osx-64" "osx-32" "win-64" "win-32") CONDA_ARCHES=("noarch" "linux-64" "linux-32" "linux-armv6l" "linux-armv7l" "linux-ppc64le" "osx-64" "osx-32" "win-64" "win-32")
CONDA_CLOUD_REPOS=("conda-forge/linux-64" "conda-forge/osx-64" "conda-forge/win-64" "conda-forge/noarch" "msys2/win-64" "msys2/noarch") CONDA_CLOUD_REPOS=("conda-forge/linux-64" "conda-forge/osx-64" "conda-forge/win-64" "conda-forge/noarch" "msys2/win-64" "msys2/noarch" "bioconda/linux-64" "bioconda/osx-64")
EXIT_STATUS=0 EXIT_STATUS=0
EXIT_MSG="" EXIT_MSG=""
@ -31,7 +31,7 @@ function check-and-download () {
wget -q --spider ${remote_file} wget -q --spider ${remote_file}
if [ $? -eq 0 ]; then if [ $? -eq 0 ]; then
echo "downloading ${remote_file}" echo "downloading ${remote_file}"
wget -q -N -O ${local_file} ${remote_file} wget -q -O ${local_file} ${remote_file}
return return
fi fi
return 1 return 1