From b631d32b2247d4380e7f0df919c5057064be0839 Mon Sep 17 00:00:00 2001 From: "xiongdian.me" Date: Mon, 8 Jan 2024 11:46:56 +0800 Subject: [PATCH] ubuntu.sh: DEBIAN_FRONTEND=noninteractive --- tools/ubuntu.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/ubuntu.sh b/tools/ubuntu.sh index 8f7e611..1bcd158 100755 --- a/tools/ubuntu.sh +++ b/tools/ubuntu.sh @@ -14,11 +14,11 @@ apt_install() { apt-get update -y # lite - apt-get install -y git zsh bash tmux vim curl inetutils-ping less bsdmainutils + DEBIAN_FRONTEND=noninteractive apt-get install -y git zsh bash tmux vim curl iputils-ping less bsdmainutils # full if [[ -z "$DFS_LITE" || "$DFS_LITE" == "0" ]]; then - apt-get install -y wget dialog net-tools dnsutils netcat traceroute sudo python3 python3-pip cron openssh-client openssh-server htop gcc g++ cmake make zip - for i in {fzf,ripgrep,man-db}; do apt-get install -y $i; done + DEBIAN_FRONTEND=noninteractive apt-get install -y wget dialog net-tools dnsutils netcat traceroute sudo python3 python3-pip cron openssh-client openssh-server htop gcc g++ cmake make zip + for i in {fzf,ripgrep,man-db}; do DEBIAN_FRONTEND=noninteractive apt-get install -y $i; done fi }