summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorRaymaekers Luca <raymaekers.luca@gmail.com>2023-09-20 12:13:08 +0200
committerRaymaekers Luca <raymaekers.luca@gmail.com>2023-09-20 12:13:08 +0200
commit138a95b053d213a0eec6b5e995ffc8825130f650 (patch)
tree7ea43e8fb48b5541173dc23d0bed2a12f25746aa /bin
parent3058dbb2fc8913e5a3484b191f076a0df26d235f (diff)
[supd] changed message format
Diffstat (limited to 'bin')
-rwxr-xr-xbin/extra/supd6
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
}