Skip to content

Commit 60d21de

Browse files
committed
Update install-runtime-packages.sh
1 parent 336a59b commit 60d21de

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

docker/build_scripts/install-runtime-packages.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,10 @@ if [ "${AUDITWHEEL_POLICY}" == "manylinux2014" ]; then
8888
if [ "${AUDITWHEEL_ARCH}" == "x86_64" ]; then
8989
# Software collection (for devtoolset-10)
9090
yum -y install centos-release-scl-rh
91-
# EPEL support (for yasm)
92-
yum -y install https://archives.fedoraproject.org/pub/archive/epel/7/x86_64/Packages/e/epel-release-7-14.noarch.rpm
91+
if ! rpm -q epel-release-7-14.noarch; then
92+
# EPEL support (for yasm)
93+
yum -y install https://archives.fedoraproject.org/pub/archive/epel/7/x86_64/Packages/e/epel-release-7-14.noarch.rpm
94+
fi
9395
TOOLCHAIN_DEPS="${TOOLCHAIN_DEPS} yasm"
9496
elif [ "${AUDITWHEEL_ARCH}" == "aarch64" ] || [ "${AUDITWHEEL_ARCH}" == "ppc64le" ] || [ "${AUDITWHEEL_ARCH}" == "s390x" ]; then
9597
# Software collection (for devtoolset-10)

0 commit comments

Comments
 (0)