> Bingo: 
> https://salsa.debian.org/mariadb-team/mariadb-10.3/blob/master/debian/mariadb-server-10.3.preinst
>
> # Automatically set version to ease maintenance of this file.
> # Assume the filename is /path/to/mariadb-server-##.#.preinst
> # Pick version string based on location. Python equivalent would be x[-12:-8].
> VERSION=${0: -12:4}
>
> This look hacky. Could this assumption be false?
>
> $ ls -l debian-*.flag
> -rw-r--r-- 1 root root 0 Jan 25 10:09 debian-10.3.flag

Seems to be a mistake made in
https://salsa.debian.org/mariadb-team/mariadb-10.3/commit/6b1f48b3fafa1f1c732d313fea20b8c035c7b776

Reply via email to