MDEV-33750: Make sure that datadir always has some value and exists
Adapted from upstream commit 8171f9da but separated only the datadir section from the commit and wrote it in a way that does not trigger Shellcheck or English grammar nags. This check is intentionally not added to the preinst script as was done upstream in 30fb72ca as the preinst script will always create the data directory if missing, and thus checking for it right after the creation is moot.
Showing
Please register or sign in to comment