Skip to content

Commit

Permalink
fix: optimize the prompt for deleting configuration files
Browse files Browse the repository at this point in the history
  • Loading branch information
DDSRem committed Feb 2, 2024
1 parent ef3764e commit 825a9de
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions main.sh
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ function update_xiaoya_alist() {

function uninstall_xiaoya_alist() {

INFO "是否删除配置文件 [Y/n](默认 Y 删除)"
INFO "是否${Red}删除${Font}配置文件 [Y/n](默认 Y 删除)"
read -erp "Clean config:" CLEAN_CONFIG
[[ -z "${CLEAN_CONFIG}" ]] && CLEAN_CONFIG="y"

Expand Down Expand Up @@ -912,7 +912,7 @@ function docker_address_xiaoya_all_emby() {

function uninstall_xiaoya_all_emby() {

INFO "是否删除配置文件 [Y/n](默认 Y 删除)"
INFO "是否${Red}删除${Font}配置文件 [Y/n](默认 Y 删除)"
read -erp "Clean config:" CLEAN_CONFIG
[[ -z "${CLEAN_CONFIG}" ]] && CLEAN_CONFIG="y"

Expand Down Expand Up @@ -1303,7 +1303,7 @@ function update_xiaoya_alist_tvbox() {

function uninstall_xiaoya_alist_tvbox() {

INFO "是否删除配置文件 [Y/n](默认 Y 删除)"
INFO "是否${Red}删除${Font}配置文件 [Y/n](默认 Y 删除)"
read -erp "Clean config:" CLEAN_CONFIG
[[ -z "${CLEAN_CONFIG}" ]] && CLEAN_CONFIG="y"

Expand Down Expand Up @@ -1416,7 +1416,7 @@ function update_onelist() {

function uninstall_onelist() {

INFO "是否删除配置文件 [Y/n](默认 Y 删除)"
INFO "是否${Red}删除${Font}配置文件 [Y/n](默认 Y 删除)"
read -erp "Clean config:" CLEAN_CONFIG
[[ -z "${CLEAN_CONFIG}" ]] && CLEAN_CONFIG="y"

Expand Down Expand Up @@ -1536,7 +1536,7 @@ function update_portainer() {

function uninstall_portainer() {

INFO "是否删除配置文件 [Y/n](默认 Y 删除)"
INFO "是否${Red}删除${Font}配置文件 [Y/n](默认 Y 删除)"
read -erp "Clean config:" CLEAN_CONFIG
[[ -z "${CLEAN_CONFIG}" ]] && CLEAN_CONFIG="y"

Expand Down Expand Up @@ -1664,7 +1664,7 @@ function update_auto_symlink() {

function uninstall_auto_symlink() {

INFO "是否删除配置文件 [Y/n](默认 Y 删除)"
INFO "是否${Red}删除${Font}配置文件 [Y/n](默认 Y 删除)"
read -erp "Clean config:" CLEAN_CONFIG
[[ -z "${CLEAN_CONFIG}" ]] && CLEAN_CONFIG="y"

Expand Down

0 comments on commit 825a9de

Please sign in to comment.