From d994873867f16eeb01b1fb80278ae89114c9b3e0 Mon Sep 17 00:00:00 2001 From: yage Date: Tue, 17 Jan 2023 12:27:34 -0700 Subject: [PATCH] only update i3 if installed --- bin/update-all-servers | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/update-all-servers b/bin/update-all-servers index f13d29e..4d6a107 100755 --- a/bin/update-all-servers +++ b/bin/update-all-servers @@ -83,7 +83,7 @@ UPDATE_ALL 'cd ~/.wryn; git pull --autostash' UPDATE_ALL '~/.wryn/bin/scwrypts config update' UPDATE_ALL '~/.wryn/bin/scwrypts media push' UPDATE_ALL '~/.wryn/bin/scwrypts media pull' -UPDATE_ALL '~/.wryn/bin/scwrypts i3 font override' +UPDATE_ALL 'command -v i3-msg >/dev/null 2>&1 || exit 0; ~/.wryn/bin/scwrypts i3 font override' [[ $REBOOT -eq 1 ]] && UPDATE_ALL 'reboot || sudo reboot'