From 1c7c101f71628a129f160c0e69d44eb7ebc4dd5a Mon Sep 17 00:00:00 2001 From: Hsieh Chin Fan Date: Wed, 20 Apr 2022 11:20:03 +0800 Subject: Update --- tools/init/sync.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tools') 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 sleep 1; done -notify-send 'Repos synced' +if which notify-send &>/dev/null; then + notify-send 'Repos synced' +fi # others repo #check_upstream ~/git/tig || echo in `pwd` >/dev/tty & -- cgit v1.2.3-70-g09d2