From 86a555bc7ead18aac710730272b8c63fc4e5a093 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Mon, 26 May 2008 22:59:23 +0200 Subject: bin/core: Only show version we update to --- bin/pkg | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v1.2.3