summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/pkg4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/pkg b/bin/pkg
index 4d8c23f..be7ac3b 100755
--- a/bin/pkg
+++ b/bin/pkg
@@ -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 ]) {