Skip to content

Commit 3982365

Browse files
Update apply_security_patches.sh
1 parent 8ba44d7 commit 3982365

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/miniconda/.devcontainer/apply_security_patches.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ for ((i=0; i<rows; i++)); do
3131
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}"
3232
# Check whether conda channel has a greater or equal version available, so install from conda, otherwise use pip package manager
3333
channel_name="anaconda"
34-
CONDA_VERSION=$(conda search --override-channels "${packages_array[$i,0]}" -c "$channel_name" | \
34+
CONDA_VERSION=$(conda search "${packages_array[$i,0]}" -c "$channel_name" | \
3535
grep -E '^[[:alnum:]]' | \
3636
awk '{print $2}' | \
3737
sort -V | \
@@ -53,4 +53,4 @@ for ((i=0; i<rows; i++)); do
5353
python3 -m pip install --upgrade --no-cache-dir "${packages_array[$i,0]}==${REQUIRED_VERSION}"
5454
fi
5555
fi
56-
done
56+
done

0 commit comments

Comments
 (0)