...ut needing php-pear to be installed - bug #4533
thank you for the PR. Sadly this breaks the build: https://travis-ci.org/piwik/piwik/jobs/17398838#L190. Can you update your PR?
I apologise, I'm still learning to code. I've just used your code from your comment.
Thanks - I manually merged and fixed a remaining issue. Commited it here: https://github.com/piwik/piwik/commit/4d835a1bb0bccb563e067e078f748edf707d3406