From 7068ab455f239afdd363c19a2b3e597509b92bce Mon Sep 17 00:00:00 2001 From: RealStickman Date: Sun, 5 Jun 2022 20:31:31 +0200 Subject: [PATCH] Add test for doom emacs --- arch-config/scripts/arch-config.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/arch-config/scripts/arch-config.sh b/arch-config/scripts/arch-config.sh index 272317ad..5aeec079 100755 --- a/arch-config/scripts/arch-config.sh +++ b/arch-config/scripts/arch-config.sh @@ -479,8 +479,10 @@ EOF # reload applications update-desktop-database ~/.local/share/applications/ -#sync doom-emacs -~/.emacs.d/bin/doom sync +# sync doom-emacs only if it is installed +if [[ -f ~/.emacs.d/bin/doom ]]; then + ~/.emacs.d/bin/doom sync +fi # disable freedesktop notification daemon if [[ -f "/usr/share/dbus-1/services/org.freedesktop.Notifications.service" ]]; then