actually look for mysql binaries in PATH

Authored by sitter on Jan 22 2019, 2:12 PM.

Description

actually look for mysql binaries in PATH

Summary:
the new helper findExectuable first tries to find the executables in the
default location. which is all the sane distro/system paths and will 99%
yield a result.
should it come back negative we'll fall back to the hardcoded list of
paths as previously used.

this fixes binary lookup when the entire dir tree is located *not* under /
(as with snap and I think also appimage)

Reviewers: dvratil

Reviewed By: dvratil

Subscribers: vandenoever, kde-pim

Tags: KDE PIM

Differential Revision: https://phabricator.kde.org/D18456

Details

Committed
sitterJan 23 2019, 9:55 AM
Reviewer
dvratil
Differential Revision
D18456: actually look for mysql binaries in PATH
Parents
R165:5876535d9170: Allow to exclude unified mailbox from local subscription
Branches
Unknown
Tags
Unknown