diff options
| -rwxr-xr-x | bin/pkg | 5 | ||||
| -rw-r--r-- | man/7/pkg | 2 | 
2 files changed, 5 insertions, 2 deletions
| @@ -458,7 +458,10 @@ function check_prereqs {  	function perlmodule {  		perl -M$1 < /dev/null 2> /dev/null  	} -	function file_in_path { +	function executable file_in_path { +		if [[ $0 == file_in_path ]] { +			warn "'file_in_path' is deprecated, use 'executable' instead\n" +		}  		which $1 > /dev/null  	}  	function offer_install { @@ -152,7 +152,7 @@ Returns true if I<package> is installed, otherwise false  Returns true if I<perlmodule> can be used by perl, otherwise false -=item B<file_in_path> I<commendname> +=item B<executable> I<commendname>  Returns true if I<commandname> was found in the users PATH, otherwise false | 
