From 73be5c5f0abc26cd6856dc144ec6daa06882feb7 Mon Sep 17 00:00:00 2001 From: clsty Date: Fri, 31 Oct 2025 22:42:16 +0800 Subject: [PATCH] Improve message for backup configs --- sdata/subcmd-install/3.files.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sdata/subcmd-install/3.files.sh b/sdata/subcmd-install/3.files.sh index e5e803295..ad81c07de 100644 --- a/sdata/subcmd-install/3.files.sh +++ b/sdata/subcmd-install/3.files.sh @@ -22,7 +22,7 @@ function auto_backup_configs(){ false) if [[ ! -d "$BACKUP_DIR" ]]; then local backup=true;fi;; *) printf "${STY_RED}" - printf "Would you like to backup clashing dirs/files to \"$BACKUP_DIR\"?" + printf "Would you like to backup clashing dirs/files to \"$BACKUP_DIR\"?\n" printf "${STY_RST}" while true;do echo " y = Yes, backup" @@ -33,7 +33,7 @@ function auto_backup_configs(){ local backup=true;break ;; [nNsS]) echo -e "${STY_BLUE}Alright, skipping...${STY_RST}" local backup=false;break ;; - *) echo -e "${STY_RED}Please enter [y/n].${STY_RST}";; + *) echo -e "${STY_RED}Please enter [y/n/s].${STY_RST}";; esac done ;;