mirror of https://github.com/Chizi123/Dotfiles.git

Joel Grunbaum
2023-10-03 b114ada4f83f9267b2382de60b7833ebc77c2950
Install now checks that installed file is different to file before asking
1 files modified
2 ■■■ changed files
INSTALL.sh 2 ●●● patch | view | raw | blame | history
INSTALL.sh
@@ -10,7 +10,7 @@
    fi
    while true; do
        CHOICE="overwrite"
        if [ -e "$loc" ] && [ "$FORCE" = "0" ]; then
        if [ -e "$loc" ] && [ "$FORCE" = "0" ] && [ $(diff "$loc" "$file") ]; then
            echo "WARNING: \"$loc\" exists, (overwrite, change, nothing): "
            read CHOICE
        fi