From 9cb09d28b66738af769e3317053174489cba64fb Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Mon, 26 May 2008 22:55:35 +0200 Subject: bin/pkg: Print new version of update --- bin/pkg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin/pkg') diff --git a/bin/pkg b/bin/pkg index f0d1e4e..c5748e4 100755 --- a/bin/pkg +++ b/bin/pkg @@ -92,8 +92,8 @@ pkg_remove () { pkg_update () { cd $PDIR/$1 - if ($VCS_CMD $VCS_OPTIONS $VCS_INCOMING) { - info "Updating package $1" + if (NEW=$VCS_CMD $VCS_OPTIONS $VCS_INCOMING) { + info "Updating package $1 to $NEW" $VCS_CMD $VCS_OPTIONS $VCS_UPDATE $VCS_UPDATE_OPTIONS checklinks $CL_OPTIONS if ([ -f hooks/post-update ]) { -- cgit v1.2.3