Skip to content

Commit

Permalink
Merge pull request #177 from fey/176_fix_for_linux_mint_22
Browse files Browse the repository at this point in the history
fix for linux mint 22
  • Loading branch information
unixmonkey authored Aug 26, 2024
2 parents 9a9ce3d + d1a614a commit 7ddaa80
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/wkhtmltopdf
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ suffix = case RbConfig::CONFIG['host_os']

os = 'ubuntu_22.04' if os.start_with?('ubuntu_22.') ||
os.start_with?('ubuntu_24.') ||
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'))
Expand Down

0 comments on commit 7ddaa80

Please sign in to comment.