This commit is contained in:
陆柯 2021-11-04 20:55:39 +08:00
parent 3a8bfbe034
commit 5419787b84

View File

@ -42,7 +42,7 @@ else
homescriptlist=".emacs .emacs.lisp .bashrc .bash_profile .gitignore"
for homescript in $homescriptlist
do
if [ -f $homescript ]
if [ -e $homescript ] # .emacs.lisp is a folder! Therefore use -e instead of -f
then
mv $homescript $homescript.backup
fi