summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2008-06-28 11:05:15 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2008-06-28 11:05:15 +0200
commitfa4bf243d9966fc973d9d2bf11cc26199505dd1b (patch)
treeb09836c5383d643d6de403676a28fc60078e1df3 /bin
parent8d3d14bcef25bda5cab1be29986b04452c1a156e (diff)
bin/pkg: -v
Diffstat (limited to 'bin')
-rwxr-xr-xbin/pkg4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/pkg b/bin/pkg
index a16f01f..1d747c3 100755
--- a/bin/pkg
+++ b/bin/pkg
@@ -325,12 +325,14 @@ pkg_remove () {
pkg_update () {
cd $PDIR
+ info "Updating package list..."
if ([ "$PKG_PROTO" = 'ssh' ]) {
- scp $PKG_HOST:$(echo $PKG_ROOT | cut -d / -f 4- | sed 's!~/!!')/.list .list-remote
+ scp -q $PKG_HOST:$(echo $PKG_ROOT | cut -d / -f 4- | sed 's!~/!!')/.list .list-remote
} elif ([ "$PKG_PROTO" = 'file' ]) {
cp $PKG_ROOT/.list .list-remote
}
core/include/pkglist $PDIR
+ clear_line
}
pkg_upgrade () {