Elementary OS changed their release name when they released the "Loki" version of their OS. This change prevents Nylas from "installing" its repository for Loki. For versions previous to Loki, running lsb_release -s -i would return
elementary OS
In Loki, running lsb_release -s -i now returns
elementary
This PR allows for both versions. Note I thought a simple "or" would be more efficient than a regex, and seems like a better choice than "elementary"*
Elementary OS changed their release name when they released the "Loki" version of their OS. This change prevents Nylas from "installing" its repository for Loki. For versions previous to Loki, running
lsb_release -s -i
would returnIn Loki, running
lsb_release -s -i
now returnsThis PR allows for both versions. Note I thought a simple "or" would be more efficient than a regex, and seems like a better choice than
"elementary"*
See:
3108
3155