skip loop for apt

weechat-localhost
Ben Harris 2018-10-03 21:22:27 -04:00
parent e07a369a16
commit 852ad2d9b7
No known key found for this signature in database
GPG Key ID: 4E0AF802FFF7960C
1 changed files with 1 additions and 5 deletions

View File

@ -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)