diff --git a/func/core/pkg_release/30-os-release.sh b/func/core/pkg_release/30-os-release.sh index 7b6b61d..65b9ca7 100755 --- a/func/core/pkg_release/30-os-release.sh +++ b/func/core/pkg_release/30-os-release.sh @@ -5,7 +5,7 @@ r_log "rocky" "Verify support directives" for s in NAME=\"Rocky\ Linux\" \ ID=\"rocky\" \ ROCKY_SUPPORT_PRODUCT=\"Rocky-Linux-$RL_VER\" \ - ROCKY_SUPPORT_PRODUCT_VERSION=\"$RL_VER\"; do + ROCKY_SUPPORT_PRODUCT_VERSION=\"$RL_VER\..*\"; do if ! grep -q "$s" /etc/os-release; then r_log "rocky" "Missing string ($s) in /etc/os-release" r_checkExitStatus 1