summaryrefslogtreecommitdiff
path: root/bin/pkg
diff options
context:
space:
mode:
Diffstat (limited to 'bin/pkg')
-rwxr-xr-xbin/pkg1
1 files changed, 1 insertions, 0 deletions
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