summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2009-01-29 10:02:13 +0100
committerDaniel Friesel <derf@derf.homelinux.org>2009-01-29 10:02:13 +0100
commit223c5b3b837edb9399bcbcc08c34976dc8986cdb (patch)
tree50a6104129c5b7f54bc5adb6ee7316c522851ef1
parentb85289379833df99e754b61b1b449c04ad567d89 (diff)
pkg: only execute fix_origin after pulling/pushing
-rwxr-xr-xbin/pkg3
1 files changed, 2 insertions, 1 deletions
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)