-
Emil Velikov authored
Some Debian versions, at least, omit /bin/ /sbin/ and similar paths from the PATH directory. The sudo 'trick' in ensure_command is used to catch those, since handful of the tools themselves live in those places. Even when the executables do not require root privileges to be run. To ensure we run on old Debian and newer systems (w/o unnessesarily calling sudo) add a trivial which check first. Signed-off-by: Emil Velikov <emil.velikov@collabora.com> Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
d5536831