Closed entretechno-jeremiah closed 3 years ago
@unixmonkey I think we can close this PR without merge, because Amazon Linux 1/2 is already recognized in source code:
https://github.com/zakird/wkhtmltopdf_binary_gem/blob/master/bin/wkhtmltopdf#L26-L30
🍻
The
VERSION_ID
for Amazon Linux 1 can start (always starts?) with a year beginning with "2". This change looks for a word boundary after the "2" to determine whether it's Amazon Linux 1 or 2.