Saturday, May 23, 2026
apps@conference.yunohost.org
May
Mon Tue Wed Thu Fri Sat Sun
        1 2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18 19 20 21 22 23
24
25
26 27 28
29
30
31
             

[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?