Skip to content

Commit 18cc60f

Browse files
committed
removing --override-channels attribute in conda search command as it would only install with pip then
1 parent 0efd8bb commit 18cc60f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/anaconda/.devcontainer/apply_security_patches.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ for ((i=0; i<rows; i++)); do
3030
echo "${packages_array[$i,0]} version v${CURRENT_VERSION} installed by the base image is not greater or equal to the required: v${REQUIRED_VERSION}"
3131
# Check whether conda channel has a greater or equal version available, so install from conda, otherwise use pip package manager
3232
channel_name="anaconda"
33-
CONDA_VERSION=$(conda search --override-channels "${packages_array[$i,0]}" -c "$channel_name" | \
33+
CONDA_VERSION=$(conda search "${packages_array[$i,0]}" -c "$channel_name" | \
3434
grep -E '^[[:alnum:]]' | \
3535
awk '{print $2}' | \
3636
sort -V | \

0 commit comments

Comments
 (0)