Installation script doesn't install mariadb/mysql on Ubuntu 24.04

I attempted to install this on a fresh Ubuntu server 24.04 using the installation script, but encountered the following error:
159: mysql: command not found

To resolve this, I ran apt install mariadb-server and retried the installation, which then worked successfully.

Here is the log for more info:

Do you want to continue? [Y/n]
Setting up passbolt-ce-server (5.8.0-1) …
/var/lib/dpkg/info/passbolt-ce-server.postinst: line 159: mysql: command not found
dpkg: error processing package passbolt-ce-server (–configure):
installed passbolt-ce-server package post-installation script subprocess returned error exit status 127
Processing triggers for nginx (1.24.0-2ubuntu7.5) …
Triggering nginx reload …
Errors were encountered while processing:
passbolt-ce-server
needrestart is being skipped since dpkg has failed
E: Sub-process /usr/bin/dpkg returned an error code (1)