From 3be8cc79c8f54d09a21cb6fcad634a2b55443f22 Mon Sep 17 00:00:00 2001 From: madumlao Date: Wed, 29 Dec 2021 17:59:52 +0800 Subject: [PATCH] Don't install .profile-local/.profile-private if found in src --- install.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/install.sh b/install.sh index d603500..648dab5 100755 --- a/install.sh +++ b/install.sh @@ -49,6 +49,7 @@ OLDIFS="$IFS" IFS=$'\n' for x in $(ls -a); do [ "$x" = '.' ] || [ "$x" = '..' ] && continue; + [ "$x" = '.profile-local' ] || [ "$x" = '.profile-private' ] && continue; [ -r "$HOME/$x" ] && echo -ne "Backup: " && mv -v "$HOME/$x" "$BACK_DIR" echo -ne "Linking: " && ln -srv "$(pwd)/$x" "$HOME" done