From 576ec53e862d81414c1a05f6242f0ff78caa71c0 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Wed, 8 Oct 2008 10:48:22 +0200 Subject: bin/pkg: vcs_push: Only update if we're actually pushing... --- bin/pkg | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/bin/pkg b/bin/pkg index 1979bb0..843efb6 100755 --- a/bin/pkg +++ b/bin/pkg @@ -435,16 +435,16 @@ pkg_push () { clear_line info "Pushing $1\n" vcs_push + check_prereqs $1 + if [[ -r Makefile ]] { + info "Building binaries\n" + make + } + triggers+=$1 + checklinks $CL_OPTIONS + populate_collected $1 + update_provides $1 } - check_prereqs $1 - if [[ -r Makefile ]] { - info "Building binaries\n" - make - } - triggers+=$1 - checklinks $CL_OPTIONS - populate_collected $1 - update_provides $1 } pkg_remove () { -- cgit v1.2.3