diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2009-07-06 20:22:09 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2009-07-06 20:22:09 +0200 |
commit | 68f701089b742dc499ffb9037ba46fdadee36b79 (patch) | |
tree | 643b0b05d27fbb75ca5fe05aabe52547ba726cd3 | |
parent | 964b65061b349756aaca1b9d3e64ae7fc1fb1526 (diff) |
pkg: check_prereqs: Deprecated require (replaced by depend)
-rwxr-xr-x | bin/pkg | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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 { |