Subject: | Failed to recognize Firefox 'esr' versions on Debian testing |
the Debian binary of firefox apparently started to add 'esr' to its version string. the regex that parses the version number however does not allow for that. thus this error is generated:
'firefox --version' did not produce output that looks like 'Mozilla Firefox \d+[.]\d+([.]\d+)?':Mozilla Firefox 68.2.0esr
as a quick fix, I relaxed the regex just a little to allow anything after the standard version string. i.e. removing '\s*$'
it solved my problem, not sure it breaks something else.
I flagged it as important because it rendered the module temporally useless to Debian testing users and is easy to fix. hope that's ok