From f1b025bfd1576cc2784bf1ae755b8a858c9dc35c Mon Sep 17 00:00:00 2001 From: Nikolay Gagarinov Date: Fri, 2 Aug 2024 14:53:29 +0500 Subject: [PATCH] fix for linux mint 22 --- bin/wkhtmltopdf | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bin/wkhtmltopdf b/bin/wkhtmltopdf index 66ed8040..114eb50e 100755 --- a/bin/wkhtmltopdf +++ b/bin/wkhtmltopdf @@ -38,12 +38,13 @@ suffix = case RbConfig::CONFIG['host_os'] os = 'ubuntu_20.04' if os.start_with?('ubuntu_20.') || os.start_with?('linuxmint_20.') - + os = 'ubuntu_21.10' if os.start_with?('ubuntu_21.') || os.start_with?('linuxmint_21.') os = 'ubuntu_22.04' if os.start_with?('ubuntu_22.') || - os.start_with?('tuxedo_22.') + os.start_with?('tuxedo_22.') || + os.start_with?('linuxmint_22') os = 'centos_6' if (os.start_with?('amzn_') && os != 'amzn_2') || (os.empty? && File.read('/etc/centos-release').start_with?('CentOS release 6'))