-
Notifications
You must be signed in to change notification settings - Fork 353
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wrong logic for AMZN_2 validation #124
Comments
cool, yes, it works if using the master branch |
That's a great news 🎉 @unixmonkey Maybe this can be a good time for an official release of gem, what do you think about? We can try the automated way to release the gem, using this PR: #116 |
+1 for me. @unixmonkey |
https://wkhtmltopdf.org/downloads.html now has binaries specifically for Amazon Linux 2. The current gem has |
I'm pretty sure this was fixed already in a prior version of the gem, but I'm just now noticing this issue as I'm going through and closing ones for version |
//for amz 1: os = "amzn_2018.03",
// for amz 2: os="amzn_2.0 (2017.12)"
os =
. /etc/os-release 2> /dev/null && echo ${ID}_${VERSION_ID}
.strip//it's wrong to check which amzn version using the following line, which return
false
for both amzn versionsos.start_with?('amzn_') && !os.start_with?('amzn_2')
FYI
amz linux 1
amz linux 2
The text was updated successfully, but these errors were encountered: