From d1c2c481d5db6bbd2daf4103be959e60c40de2b3 Mon Sep 17 00:00:00 2001 From: David Date: Mon, 9 Oct 2023 18:09:44 +0800 Subject: [PATCH] Add support for alibaba cloud linux --- bin/wkhtmltopdf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/wkhtmltopdf b/bin/wkhtmltopdf index 52cda529..f588109c 100755 --- a/bin/wkhtmltopdf +++ b/bin/wkhtmltopdf @@ -38,7 +38,7 @@ 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.start_with?('rhel_8.') + os = 'centos_8' if os.start_with?('rocky_8') || os.start_with?('rhel_8.') || os.start_with?('alinux_') os_based_on_debian_9 = os.start_with?('debian_9') || os.start_with?('deepin')