From 940b0853483d3ea0c86dce3a02533b21aac38e1a Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Sat, 1 Feb 2025 00:00:41 +0900 Subject: inutil --- copy.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/copy.sh b/copy.sh index b37d1edd..5b387095 100755 --- a/copy.sh +++ b/copy.sh @@ -413,11 +413,11 @@ for DIR2 in $DIRS; do if [ -d "$DIRPATH" ]; then while true; do - read -p "\n${CAT} ${MAGENTA}$DIR2${RESET} config found in ~/.config/ Do you want to replace ${MAGENTA}$DIR2${RESET} config? (y/n): " DIR1_CHOICE + printf "\n${INFO} Found ${MAGENTA}$DIR2${RESET} config found in ~/.config/\n" + read -p "${CAT} Do you want to replace ${MAGENTA}$DIR2${RESET} config? (y/n): " DIR1_CHOICE case "$DIR1_CHOICE" in [Yy]* ) BACKUP_DIR=$(get_backup_dirname) - echo -e "${NOTE} - Config for ${YELLOW}$DIR2${RESET} found, attempting to back up." mv "$DIRPATH" "$DIRPATH-backup-$BACKUP_DIR" 2>&1 | tee -a "$LOG" if [ $? -eq 0 ]; then -- cgit v1.2.3