We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f3e06ea + dbc9321 commit 74484a8Copy full SHA for 74484a8
bin/wkhtmltopdf
@@ -32,6 +32,9 @@ suffix = case RbConfig::CONFIG['host_os']
32
os_based_on_debian_9 = (/deepin/ =~ os)
33
os = 'debian_9' if os_based_on_debian_9
34
35
+ os_based_on_debian = os.start_with?('debian')
36
+ os = 'debian_10' if os_based_on_debian
37
+
38
os_based_on_archlinux = os.start_with?('arch_') || os.start_with?('manjaro_')
39
os = 'archlinux' if os_based_on_archlinux
40
@@ -43,7 +46,7 @@ suffix = case RbConfig::CONFIG['host_os']
43
46
else
44
47
'unknown'
45
48
end
-
49
50
suffix = ENV['WKHTMLTOPDF_HOST_SUFFIX'] unless ENV['WKHTMLTOPDF_HOST_SUFFIX'].to_s.empty?
51
52
binary = "#{__FILE__}_#{suffix}"
0 commit comments