diff options
-rwxr-xr-x | tools/init/sync.sh | 4 |
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; |
20 | done | 20 | done |
21 | 21 | ||
22 | notify-send 'Repos synced' | 22 | if which notify-send &>/dev/null; then |
23 | notify-send 'Repos synced' | ||
24 | fi | ||
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 & |