修改了默认值

This commit is contained in:
Konano 2023-07-23 02:01:47 +08:00
parent f6f014a753
commit 4805b9049e
2 changed files with 4 additions and 4 deletions

View File

@ -106,9 +106,9 @@ configure_apt_upgrade() {
} }
configure_apt_install() { configure_apt_install() {
read -p "要运行 apt install 吗?[Y]: " response read -p "要运行 apt install 吗?[N]: " response
if [[ -z "$response" ]] || [[ $response =~ ^[Yy]$ ]]; then if [[ $response =~ ^[Yy]$ ]]; then
apt update apt update
apt install tmux git curl htop net-tools tcptraceroute tar unzip -y apt install tmux git curl htop net-tools tcptraceroute tar unzip -y
apt install hexyl bat neofetch fd-find fzf -y apt install hexyl bat neofetch fd-find fzf -y

View File

@ -112,9 +112,9 @@ configure_apt_upgrade() {
} }
configure_apt_install() { configure_apt_install() {
read -p "要运行 apt install 吗?[Y]: " response read -p "要运行 apt install 吗?[N]: " response
if [[ -z "$response" ]] || [[ $response =~ ^[Yy]$ ]]; then if [[ $response =~ ^[Yy]$ ]]; then
sudo apt update sudo apt update
sudo apt install tmux git curl htop net-tools tcptraceroute tar unzip -y sudo apt install tmux git curl htop net-tools tcptraceroute tar unzip -y
sudo apt install hexyl bat neofetch fd-find fzf -y sudo apt install hexyl bat neofetch fd-find fzf -y