Combine RHEL 6 and 7 into one case statement.