diff options
author | Raymaekers Luca <raymaekers.luca@gmail.com> | 2023-09-20 12:13:08 +0200 |
---|---|---|
committer | Raymaekers Luca <raymaekers.luca@gmail.com> | 2023-09-20 12:13:08 +0200 |
commit | 138a95b053d213a0eec6b5e995ffc8825130f650 (patch) | |
tree | 7ea43e8fb48b5541173dc23d0bed2a12f25746aa /bin | |
parent | 3058dbb2fc8913e5a3484b191f076a0df26d235f (diff) |
[supd] changed message format
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/extra/supd | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/bin/extra/supd b/bin/extra/supd index b4347b2..931d808 100755 --- a/bin/extra/supd +++ b/bin/extra/supd @@ -8,8 +8,10 @@ check () do print_dir "$2/$dir" cd "$2/$dir" || continue - git pull 2> /dev/null | tr -d '\n' - echo + git pull > /dev/null 2>&1 && + printf 'Up to date.' || + printf 'Couldn'\''t update.' + printf '\n' done } |