diff options
| author | Hsieh Chin Fan <typebrook@gmail.com> | 2022-04-20 11:20:03 +0800 |
|---|---|---|
| committer | Hsieh Chin Fan <typebrook@gmail.com> | 2022-04-20 11:20:03 +0800 |
| commit | 1c7c101f71628a129f160c0e69d44eb7ebc4dd5a (patch) | |
| tree | aad5009cc994b2ef74676b87a250be08e2a85397 /tools/init | |
| parent | cdf13fe5f2998f561cb424e1153557229f55330d (diff) | |
Update
Diffstat (limited to 'tools/init')
| -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 & |