From 852ad2d9b727c4ea15bb2adaaac8b7d81463458c Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Wed, 3 Oct 2018 21:22:27 -0400 Subject: [PATCH] skip loop for apt --- debian-bootstrap.sh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/debian-bootstrap.sh b/debian-bootstrap.sh index d48d1ea..72e3d72 100644 --- a/debian-bootstrap.sh +++ b/debian-bootstrap.sh @@ -4,8 +4,4 @@ apt update apt upgrade -y apt full-upgrade -y -while read pkg; do - echo $pkg - apt install $pkg -done < packages.txt - +apt install -y $(xargs < packages.txt)