diff --git a/diskimage_builder/elements/redhat-common/post-install.d/05-selinux-9-stream b/diskimage_builder/elements/redhat-common/post-install.d/05-selinux-9-stream index ec7aa762..bc4853a7 100755 --- a/diskimage_builder/elements/redhat-common/post-install.d/05-selinux-9-stream +++ b/diskimage_builder/elements/redhat-common/post-install.d/05-selinux-9-stream @@ -1,7 +1,7 @@ # NOTE(ianw) 2022-06-09 : this is a workaround for setfiles # failing until libselinux-3.4-2.el9.x86_64.rpm # https://bugzilla.redhat.com/show_bug.cgi?id=2094683 -if [[ '9-stream' =~ ${DIB_RELEASE} ]]; then +if [[ ${DIB_RELEASE} =~ '9-stream' ]]; then sudo dnf update -y \ https://kojihub.stream.centos.org/kojifiles/packages/libselinux/3.4/2.el9/x86_64/libselinux-3.4-2.el9.x86_64.rpm \ https://kojihub.stream.centos.org/kojifiles/packages/libselinux/3.4/2.el9/x86_64/libselinux-utils-3.4-2.el9.x86_64.rpm \