From elecmatth@hotmail.com
In webmin version 1.160
I think there can be a mistake in the search.cgi in
while searching in section man : the $config{'man_dir'}
is only used if you got an in{'opt'}.
The problem is that if I want to look for a man page
that is not in the standard MANPATH the path I
specified in the config is not added.
On the other hand if I use the webmin command
"help_search_link" with as section parameter
"man:mypath" it works fine.
As a correction I would propose to change the :
L188
-------------------------------------------------------
if ($opts{'man'}) {
$ENV{'MANPATH'} .= $config{'man_dir'}.':'.$opts{'man'};
}
--------------------------------------------------------
in :
----------------------------------------------------------
$ENV{'MANPATH'} .= $config{'man_dir'};
if ($opts{'man'}) {
$ENV{'MANPATH'} .= ':'.$opts{'man'};
}
-----------------------------------------------------------
or something like that. I mean a two time insertion
Logged In: YES
user_id=129364
Agreed, I will make this change in the next Webmin release ..