summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/pkg5
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/pkg b/bin/pkg
index d3a5bb4..82e05d1 100755
--- a/bin/pkg
+++ b/bin/pkg
@@ -480,7 +480,10 @@ function check_prereqs {
function offer_install {
install+=$1
}
- function require depend {
+ function depend require {
+ if [[ $0 == require ]] {
+ warn "'require' is depracated, use 'depend' instead\n"
+ }
if [[ $1 == 'package' ]] {
is_installed $2 || offer_install $2
} else {