Skip to content

Commit 48c74c3

Browse files
committed
PKG-339 psmdb.cd: fix pbm build deps installation
1 parent 15b51a8 commit 48c74c3

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

packaging/scripts/mongodb-backup_builder.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,11 @@ install_deps() {
170170

171171
if [ "x$OS" = "xrpm" ]; then
172172
yum clean all
173-
yum -y install epel-release git wget
173+
INSTALL_LIST="epel-release git wget"
174+
if [ "x$RHEL" = "x2023" ]; then
175+
INSTALL_LIST="git wget"
176+
fi
177+
yum -y install ${INSTALL_LIST}
174178
yum -y install rpm-build make rpmlint rpmdevtools golang krb5-devel
175179
install_golang
176180
else

0 commit comments

Comments
 (0)