Fix check for cleaning legacy Emacs config

This commit is contained in:
Evie Litherland-Smith 2024-12-20 06:14:09 +00:00
parent 8417896cef
commit cb759438ca

View file

@ -7,4 +7,4 @@ else
fi
# Cleanup legacy Emacs config file/directory
[ -f "$HOME/.emacs" ] && rm "$HOME/.emacs"
[ -f "$HOME/.emacs.d" ] && rm -r "$HOME/.emacs.d"
[ -d "$HOME/.emacs.d" ] && rm -r "$HOME/.emacs.d"