summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2008-06-23 22:18:05 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2008-06-23 22:18:05 +0200
commit516bf8094e4981ed07783aaf548fe984e25b9c72 (patch)
treee23cd07786491c25beb76393a79c5d9038c02d5e
parent400bf85eea4066cd8c778c06ccc8fdb83cda8145 (diff)
bin/pkg: no more quiet updates
-rwxr-xr-xbin/pkg8
1 files changed, 3 insertions, 5 deletions
diff --git a/bin/pkg b/bin/pkg
index 00eac06..e2723cd 100755
--- a/bin/pkg
+++ b/bin/pkg
@@ -134,8 +134,8 @@ vcs_incoming () {
}
vcs_update () {
- [ -d .hg ] && hg --quiet pull --update
- [ -d .git ] && git pull --quiet
+ [ -d .hg ] && hg pull --update
+ [ -d .git ] && git pull
}
@@ -325,10 +325,8 @@ pkg_update () {
NEW=$(vcs_incoming)
if ([ $? = 0 ]) {
clear_line
- info "Updating: $1 to $(echo $NEW | tail -n 1)"
+ info "Updating $1 to $(echo $NEW | tail -n 1)\n"
vcs_update
- clear_line
- info "Updated $1 to $(echo $NEW | tail -n 1) \n"
check_deps "$1"
if ([ -r Makefile ]) {
info "Building binaries\n"