summaryrefslogtreecommitdiff
path: root/bin/pkg
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2008-08-03 13:50:01 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2008-08-03 13:50:01 +0200
commitef3d26d681d30192b7ccada1e58ef7efb93911d5 (patch)
tree261e82af02012cf8990d127b522bc0088bfaa73e /bin/pkg
parente08d4dffe02bd6bf4492e40c13d7017fd03f8c36 (diff)
bin/pkg: pkg_add: check prerequisites before doing anything else
Diffstat (limited to 'bin/pkg')
-rwxr-xr-xbin/pkg2
1 files changed, 1 insertions, 1 deletions
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