From 223c5b3b837edb9399bcbcc08c34976dc8986cdb Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Thu, 29 Jan 2009 10:02:13 +0100 Subject: pkg: only execute fix_origin after pulling/pushing --- bin/pkg | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/pkg b/bin/pkg index a719ee0..3815f5d 100755 --- a/bin/pkg +++ b/bin/pkg @@ -248,10 +248,12 @@ function vcs_upgrade { return 1 } git pull $PKG_ROOT/${PWD:t} $branch + fix_origin } function vcs_push { git push $PKG_ROOT/${PWD:t} master + fix_origin } function vcs_status { @@ -367,7 +369,6 @@ function global_hook { checklinks $CL_OPTIONS populate_collected $1 update_provides $1 - fix_origin $1 list_update_package $1 ;; pre-remove) -- cgit v1.2.3