[21:02:35]
<Papa Dragon> Hi all,
The Streams and Forte package will be needing the database version to populate the `conf.htconfig.sample.php` template during install. I did not notice this recent (*cough* from two years ago) change in upstream, and I wanted to update the install script accordingly. Problem: when running `mariadb --version` you get this huge piece of info:
`mariadb Ver 15.1 Distrib 10.11.14-MariaDB, for debian-linux-gnu (x86_64) using EditLine wrapper`
So… Is there a simple way to create a variable with only `15.1` or should I prepare to dive in the dark abysses of regexes and bash?