From 68f701089b742dc499ffb9037ba46fdadee36b79 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Mon, 6 Jul 2009 20:22:09 +0200 Subject: pkg: check_prereqs: Deprecated require (replaced by depend) --- bin/pkg | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'bin') 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 { -- cgit v1.2.3