diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2008-06-24 13:59:56 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2008-06-24 13:59:56 +0200 |
commit | e970cd5fa3dd944907005d16d09478ed1bebff51 (patch) | |
tree | abfb907664fe2cb92289e3c1eeab0afa3423692f /bin | |
parent | 84f3d627a9581a6acca565d300844a84d3f14109 (diff) |
bin/pkg: Only print 'to $new' unless $new is empty
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/pkg | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -325,7 +325,9 @@ pkg_update () { NEW=$(vcs_incoming) if ([ $? = 0 ]) { clear_line - info "Updating $1 to $(echo $NEW | tail -n 1)\n" + info "Updating $1" + [ -n "$NEW" ] && info "to $(echo $NEW | tail -n 1)" + info "\n" vcs_update check_deps "$1" if ([ -r Makefile ]) { |