aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rwxr-xr-xtools/init/sync.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/init/sync.sh b/tools/init/sync.sh
index 6dd57ba..c65f720 100755
--- a/tools/init/sync.sh
+++ b/tools/init/sync.sh
@@ -19,7 +19,9 @@ while [ $(jobs -r | wc -l) -gt 0 ]; do
19 sleep 1; 19 sleep 1;
20done 20done
21 21
22notify-send 'Repos synced' 22if which notify-send &>/dev/null; then
23 notify-send 'Repos synced'
24fi
23 25
24# others repo 26# others repo
25#check_upstream ~/git/tig || echo in `pwd` >/dev/tty & 27#check_upstream ~/git/tig || echo in `pwd` >/dev/tty &