diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2009-07-05 22:10:37 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2009-07-05 22:10:37 +0200 |
commit | caf80d71bc1b294933a881d617baa29a231cdafb (patch) | |
tree | 3b8470b51ff5f0bedb5df00998d28df6b65ac921 /bin/pkg | |
parent | 84a6de896288a144630cef5d610e357d33eea290 (diff) |
pkg: prereqs: Remaned file_in_path to executable
Diffstat (limited to 'bin/pkg')
-rwxr-xr-x | bin/pkg | 5 |
1 files changed, 4 insertions, 1 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 { |