summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/pkg10
1 files changed, 8 insertions, 2 deletions
diff --git a/bin/pkg b/bin/pkg
index 1820f39..cd9ae6d 100755
--- a/bin/pkg
+++ b/bin/pkg
@@ -140,9 +140,15 @@ pkg_list_available () {
pkg_status () {
cd $PDIR/$1
- info "Checking $1 status...\n"
+ info "Checking $1 status..."
check_deps $1
- $VCS_CMD $VCS_STATUS
+ STATUS=$($VCS_CMD $VCS_STATUS)
+ if ([ -n "$STATUS" ]) {
+ info "\rLocally modified in $1:\n"
+ echo "$STATUS"
+ } else {
+ info "\r \r"
+ }
}
pkg_status_wrapper () {