summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2009-04-03 22:28:55 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2009-04-03 22:28:55 +0200
commit5f3d6ae75344786ec9708fc3617960deff6ca9c6 (patch)
tree636646146def67b7fa3a05e968400492ac37f2e0 /bin
parent93aeb007f8886ff045fc010ab9f45c0473f03c04 (diff)
pkg: Renamed vcs_upgrade to vcs_pull
Diffstat (limited to 'bin')
-rwxr-xr-xbin/pkg4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/pkg b/bin/pkg
index c4fb45e..88b26b8 100755
--- a/bin/pkg
+++ b/bin/pkg
@@ -240,7 +240,7 @@ function vcs_log {
git log
}
-function vcs_upgrade {
+function vcs_pull {
typeset IFS=$'\n' line
typeset branch
for line in $(git branch); {
@@ -690,7 +690,7 @@ function pkg_upgrade {
clear_line
info "Updating $1 to $(list_remote_version $1)\n"
global_hook $1 pre-update
- vcs_upgrade
+ vcs_pull
global_hook $1 post-update
fi
}