Skip to content

Commit

Permalink
fix incorrect variable reference
Browse files Browse the repository at this point in the history
  • Loading branch information
p5 authored and EyeCantCU committed Sep 18, 2023
1 parent 464ada3 commit 7261a6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build-prep.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ ARCH="$(rpm -E '%_arch')"
RELEASE="$(rpm -E '%fedora')"

# Modularity repositories are not available on Fedora 39 and above, so don't try to disable them
if [[ "${FEDORA_VERSION}" -le 38 ]]; then
if [[ "${FEDORA_MAJOR_VERSION}" -le 38 ]]; then
sed -i 's@enabled=1@enabled=0@g' /etc/yum.repos.d/fedora-{cisco-openh264,modular,updates-modular}.repo
else
sed -i 's@enabled=1@enabled=0@g' /etc/yum.repos.d/fedora-cisco-openh264.repo
Expand Down

0 comments on commit 7261a6a

Please sign in to comment.