From a576739c7680f76aa4d4b72a42bb2c0ccc8b17f6 Mon Sep 17 00:00:00 2001 From: Leon <62660101+Oreomeow@users.noreply.github.com> Date: Wed, 21 Jul 2021 11:29:41 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=8D=ADtest?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Scripts/sh/1custom.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/Scripts/sh/1custom.sh b/Scripts/sh/1custom.sh index f81595d..ce45b44 100644 --- a/Scripts/sh/1custom.sh +++ b/Scripts/sh/1custom.sh @@ -13,6 +13,7 @@ task_before_shell_path=$dir_shell/task_before.sh # 控制是否执行变量 echo "以下操作默认为是,不需要的请输入 n,如果输入 A 则取消选择,直接进行全部替换" read -p "是否全部替换或下载,请输入 A,建议初次使用选择":" Rall +Rall=${Rall:-'N'} if [ $Rall != 'A' ]; then read -p "是否替换或下载 config.sh y/n:" Rconfig Rconfig=${Rconfig:-'y'}