修改了默认值
This commit is contained in:
parent
f6f014a753
commit
4805b9049e
@ -106,9 +106,9 @@ configure_apt_upgrade() {
|
||||
}
|
||||
|
||||
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 install tmux git curl htop net-tools tcptraceroute tar unzip -y
|
||||
apt install hexyl bat neofetch fd-find fzf -y
|
||||
|
||||
@ -112,9 +112,9 @@ configure_apt_upgrade() {
|
||||
}
|
||||
|
||||
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 install tmux git curl htop net-tools tcptraceroute tar unzip -y
|
||||
sudo apt install hexyl bat neofetch fd-find fzf -y
|
||||
|
||||
Loading…
Reference in New Issue
Block a user