From 19272dec2b2cb4c9b207fd1f4dce34c2c7d1aa06 Mon Sep 17 00:00:00 2001 From: Jeremy Merle Date: Fri, 29 Nov 2019 12:15:13 +0100 Subject: [PATCH] Use --quiet arg for pacman and remove awk call --- larbs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/larbs.sh b/larbs.sh index 01d77da..c8c03f2 100644 --- a/larbs.sh +++ b/larbs.sh @@ -122,7 +122,7 @@ pipinstall() { \ installationloop() { \ ([ -f "$progsfile" ] && cp "$progsfile" /tmp/progs.csv) || curl -Ls "$progsfile" | sed '/^#/d' | eval grep "$grepseq" > /tmp/progs.csv total=$(wc -l < /tmp/progs.csv) - aurinstalled=$(pacman -Qm | awk '{print $1}') + aurinstalled=$(pacman -Qqm) while IFS=, read -r tag program comment; do n=$((n+1)) echo "$comment" | grep "^\".*\"$" >/dev/null 2>&1 && comment="$(echo "$comment" | sed "s/\(^\"\|\"$\)//g")"