Don't install .profile-local/.profile-private if found in src
This commit is contained in:
@@ -49,6 +49,7 @@ OLDIFS="$IFS"
|
|||||||
IFS=$'\n'
|
IFS=$'\n'
|
||||||
for x in $(ls -a); do
|
for x in $(ls -a); do
|
||||||
[ "$x" = '.' ] || [ "$x" = '..' ] && continue;
|
[ "$x" = '.' ] || [ "$x" = '..' ] && continue;
|
||||||
|
[ "$x" = '.profile-local' ] || [ "$x" = '.profile-private' ] && continue;
|
||||||
[ -r "$HOME/$x" ] && echo -ne "Backup: " && mv -v "$HOME/$x" "$BACK_DIR"
|
[ -r "$HOME/$x" ] && echo -ne "Backup: " && mv -v "$HOME/$x" "$BACK_DIR"
|
||||||
echo -ne "Linking: " && ln -srv "$(pwd)/$x" "$HOME"
|
echo -ne "Linking: " && ln -srv "$(pwd)/$x" "$HOME"
|
||||||
done
|
done
|
||||||
|
|||||||
Reference in New Issue
Block a user