Skip to content

Commit

Permalink
fix for linux mint 22
Browse files Browse the repository at this point in the history
  • Loading branch information
fey committed Aug 2, 2024
1 parent 8d40094 commit f1b025b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions bin/wkhtmltopdf
Original file line number Diff line number Diff line change
Expand Up @@ -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'))
Expand Down

0 comments on commit f1b025b

Please sign in to comment.