There was an error while loading. Please reload this page.
1 parent 67d4156 commit 079e285Copy full SHA for 079e285
1 file changed
configuration/steps/commands/scripts/srpm_install_build_deps.sh
@@ -28,15 +28,13 @@ srpm_file="${srpms[0]}"
28
# Run appropriate build dependency install command
29
source /etc/os-release
30
case "$ID" in
31
- fedora|centos)
32
- echo "Installing build dependencies using dnf on $ID..."
33
- sudo dnf --setopt=install_weak_deps=False builddep -y "$srpm_file"
34
- ;;
35
rhel)
36
major="${VERSION_ID%%.*}"
37
arch="$(uname -m)"
38
echo "Enabling CodeReady Builder repo for RHEL $major ($arch)..."
39
sudo dnf config-manager --enable "codeready-builder-for-rhel-${major}-${arch}-rpms"
+ ;&
+ fedora|centos)
40
echo "Installing build dependencies using dnf on RHEL..."
41
sudo dnf --setopt=install_weak_deps=False builddep -y "$srpm_file"
42
;;
0 commit comments