summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2008-10-08 10:48:22 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2008-10-08 10:48:22 +0200
commit576ec53e862d81414c1a05f6242f0ff78caa71c0 (patch)
tree0a9008937a30a2c675a8ca259c50a7e1ac2d8abb
parent7dc3cfbe7ea5ec3ea0ae34af1f087e22e40550e6 (diff)
bin/pkg: vcs_push: Only update if we're actually pushing...
-rwxr-xr-xbin/pkg18
1 files 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 () {