Skip to content

Commit

Permalink
Fix rocky9
Browse files Browse the repository at this point in the history
  • Loading branch information
hgreebe committed Dec 15, 2024
1 parent f554851 commit 8f72e09
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ phases:
OS='{{ build.OperatingSystemName.outputs.stdout }}'
PLATFORM='{{ build.PlatformName.outputs.stdout }}'
VERSION='{{ build.OperatingSystemVersion.outputs.stdout }}'
if [[ ${!OS} == rhel9 ]]; then
if [[ ${!OS} == rhel9 ]] || [[ ${!OS} == rocky9 ]]; then
echo ${!VERSION} > /etc/yum/vars/releasever
yum clean all
fi
Expand Down

0 comments on commit 8f72e09

Please sign in to comment.