File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 11{
22 "id" : " conda" ,
3- "version" : " 1.2.4 " ,
3+ "version" : " 1.2.5 " ,
44 "name" : " Conda" ,
55 "description" : " A cross-platform, language-agnostic binary package manager" ,
66 "documentationURL" : " https://github.com/devcontainers/features/tree/main/src/conda" ,
Original file line number Diff line number Diff line change @@ -103,7 +103,8 @@ if ! conda --version &> /dev/null ; then
103103 else
104104 # For specific versions, query the Packages file to find the exact filename
105105 echo " Fetching package list to find version ${VERSION} ..."
106- CONDA_PKG_INFO=$( curl -fsSL " ${PACKAGES_URL} " | grep -B 5 " ^Version: ${VERSION} " | grep -A 30 " ^Package: conda$" | head -n 31)
106+ # Search for version pattern - user may specify 4.12.0 but package has 4.12.0-0
107+ CONDA_PKG_INFO=$( curl -fsSL " ${PACKAGES_URL} " | grep -A 30 " ^Package: conda$" | grep -B 5 -A 25 " ^Version: ${VERSION} " )
107108 CONDA_FILENAME=$( echo " ${CONDA_PKG_INFO} " | grep " ^Filename:" | head -n 1 | awk ' {print $2}' )
108109
109110 if [ -z " ${CONDA_FILENAME} " ]; then
You can’t perform that action at this time.
0 commit comments