summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2008-05-26 22:59:23 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2008-05-26 22:59:23 +0200
commit86a555bc7ead18aac710730272b8c63fc4e5a093 (patch)
treefb50beb68fff650fe21391afc4d013d298a51129
parent2d041084a0e2e28438b7527a07d445c9ccbf0080 (diff)
bin/core: Only show version we update to
-rwxr-xr-xbin/pkg1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/pkg b/bin/pkg
index 2502e39..c726e02 100755
--- a/bin/pkg
+++ b/bin/pkg
@@ -93,6 +93,7 @@ pkg_remove () {
pkg_update () {
cd $PDIR/$1
if (NEW=$($VCS_CMD $VCS_OPTIONS $VCS_INCOMING)) {
+ NEW=$(tail -n 1 <<< $NEW)
info "Updating package $1 to $NEW"
$VCS_CMD $VCS_OPTIONS $VCS_UPDATE $VCS_UPDATE_OPTIONS
checklinks $CL_OPTIONS