From f318b4c852a96fa78536f86fd171fd5568c37fa7 Mon Sep 17 00:00:00 2001 From: Matt Lawrence Date: Wed, 16 Mar 2022 18:02:03 -0400 Subject: [PATCH] Treat rhel_8 releases as centos_8 --- bin/wkhtmltopdf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/wkhtmltopdf b/bin/wkhtmltopdf index 80e5b02..a2f3e15 100755 --- a/bin/wkhtmltopdf +++ b/bin/wkhtmltopdf @@ -32,8 +32,8 @@ suffix = case RbConfig::CONFIG['host_os'] os = 'centos_7' if (os.start_with?('amzn_2') && !os.start_with?('amzn_20')) || os.start_with?('rhel_7.') - - os = "centos_8" if os.start_with?('rocky_8') + + os = 'centos_8' if os.start_with?('rocky_8') || os.start_with?('rhel_8.') os_based_on_debian_9 = os.start_with?('debian_9') || os.start_with?('deepin')