diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2008-05-27 15:39:45 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2008-05-27 15:39:45 +0200 |
commit | 1df852c7f06d077f7bc8277f1ccb69c953f70ce4 (patch) | |
tree | a57bde2f96be26712102706920ddbd33cb812cf3 | |
parent | 10417f08183951d998988d6b9ed86470a34e95c4 (diff) |
also use \r for pkg_status
-rwxr-xr-x | bin/pkg | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -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 () { |