summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/pkg5
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/pkg b/bin/pkg
index 864fe17..d45c05b 100755
--- a/bin/pkg
+++ b/bin/pkg
@@ -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 {