Skip to content

Commit bdd7a76

Browse files
Update apply_security_patches.sh
1 parent bc7d1a5 commit bdd7a76

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/anaconda/.devcontainer/apply_security_patches.sh

Lines changed: 2 additions & 2 deletions
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 | \
@@ -52,4 +52,4 @@ for ((i=0; i<rows; i++)); do
5252
python3 -m pip install --upgrade --no-cache-dir "${packages_array[$i,0]}==${REQUIRED_VERSION}"
5353
fi
5454
fi
55-
done
55+
done

0 commit comments

Comments
 (0)