From 9e5f01c1d4127c4af7a05d6a7f62ad1142747ee3 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 b4fceb47..442a05fe 100755 --- a/arch-config/scripts/arch-config.sh +++ b/arch-config/scripts/arch-config.sh @@ -496,8 +496,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