From 5419787b84236f05aa6bf7b0cbb993be61226875 Mon Sep 17 00:00:00 2001 From: Luk Lu Date: Thu, 4 Nov 2021 20:55:39 +0800 Subject: [PATCH] u --- config-home.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config-home.sh b/config-home.sh index eca660d..7ff72db 100755 --- a/config-home.sh +++ b/config-home.sh @@ -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