From ef3d26d681d30192b7ccada1e58ef7efb93911d5 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 3 Aug 2008 13:50:01 +0200 Subject: bin/pkg: pkg_add: check prerequisites before doing anything else --- bin/pkg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/pkg b/bin/pkg index 7abfb97..fb93054 100755 --- a/bin/pkg +++ b/bin/pkg @@ -411,12 +411,12 @@ pkg_add () { cd $PDIR || return 255 vcs_add $1 || return 255 cd $1 || return 255 + check_prereqs $1 if [[ -r $PDIR/$1/Makefile ]] { info "Building binaries\n" make } exec_hook $1 "post-add" - check_prereqs $1 checklinks $CL_OPTIONS populate_collected $1 update_provides $1 -- cgit v1.2.3