summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2008-05-26 22:55:35 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2008-05-26 22:55:35 +0200
commit9cb09d28b66738af769e3317053174489cba64fb (patch)
tree99ce90f311a8a721007b0822cb908ccf3dd680cd /bin
parenta79562822aeaea4af02c0e64571d0251fdc50a53 (diff)
bin/pkg: Print new version of update
Diffstat (limited to 'bin')
-rwxr-xr-xbin/pkg4
1 files changed, 2 insertions, 2 deletions
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 ]) {