diff options
author | Raymaekers Luca <raymaekers.luca@gmail.com> | 2023-09-22 13:06:54 +0200 |
---|---|---|
committer | Raymaekers Luca <raymaekers.luca@gmail.com> | 2023-09-22 13:07:47 +0200 |
commit | 2df68b8f3f365271fe25867100adc4004e8b41fb (patch) | |
tree | 121a94840388b646f9a9870b1396c04f2ce7ffd6 /bin | |
parent | 67bafeaaa2c4fbb7021b2d5cecaa495e8295ffa0 (diff) | |
parent | 3193a36d5306845e5bf51839f8e884e2aca17808 (diff) |
Merge branch 'main' of db:dotfiles
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 } |