diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/pkg | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -484,16 +484,13 @@ function check_prereqs { function offer_install { install+=$1 } - function require { + function require depend { if [[ $1 == 'package' ]] { is_installed $2 || offer_install $2 } else { $* || warn+="Requirement failed: $*\n" } } - function depend { - require $* - } function suggest { if [[ $1 == 'package' ]] { |