Fix order of checks in sync-emacs

This commit is contained in:
Evie Litherland-Smith 2024-12-19 11:09:45 +00:00
parent 86938499ad
commit d991c9acfb
4 changed files with 1 additions and 1 deletions

0
system/home/scripts/shell/rsync-local-config.sh Executable file → Normal file
View file

View file

@ -1,6 +1,6 @@
# Clone ~/.config/emacs/ if it doesn't exist
EMACS_DIR="${XDG_CONFIG_HOME:-$HOME/.config}/emacs"
if [ ! -d "$EMACS_DIR" ]; then
if [ -d "$EMACS_DIR" ]; then
git -C "$EMACS_DIR" pull --ff --ff-only
else
git clone "https://git.xenia.me.uk/pixelifytica/emacs.git" "$EMACS_DIR"

0
system/home/scripts/shell/sync-git.sh Executable file → Normal file
View file

0
system/home/scripts/shell/xdg-query-program.sh Executable file → Normal file
View file