Re: menu enhancements
On Thu, 2008-07-31 at 12:56 -0500, Raphael Geissert wrote:
> + if ($vals{'command'} =~ m,^(/(?:usr/)?s?bin/\w+),
> + || ($command && $command =~ m,^(/(?:usr/)?s?bin/\w+),)) {
Unless I'm missing something, that check's a little overzealous, as
{/usr,}/sbin aren't on a normal user's default path.
(As a side note, two of the three sample menu files contained in the
Menu System Documentation use fully qualified paths, for commands
in /usr/bin and /usr/games respectively.)
Adam
Reply to: