Use --quiet arg for pacman and remove awk call
This commit is contained in:
parent
b9cd2eb78b
commit
19272dec2b
1 changed files with 1 additions and 1 deletions
2
larbs.sh
2
larbs.sh
|
@ -122,7 +122,7 @@ pipinstall() { \
|
||||||
installationloop() { \
|
installationloop() { \
|
||||||
([ -f "$progsfile" ] && cp "$progsfile" /tmp/progs.csv) || curl -Ls "$progsfile" | sed '/^#/d' | eval grep "$grepseq" > /tmp/progs.csv
|
([ -f "$progsfile" ] && cp "$progsfile" /tmp/progs.csv) || curl -Ls "$progsfile" | sed '/^#/d' | eval grep "$grepseq" > /tmp/progs.csv
|
||||||
total=$(wc -l < /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
|
while IFS=, read -r tag program comment; do
|
||||||
n=$((n+1))
|
n=$((n+1))
|
||||||
echo "$comment" | grep "^\".*\"$" >/dev/null 2>&1 && comment="$(echo "$comment" | sed "s/\(^\"\|\"$\)//g")"
|
echo "$comment" | grep "^\".*\"$" >/dev/null 2>&1 && comment="$(echo "$comment" | sed "s/\(^\"\|\"$\)//g")"
|
||||||
|
|
Loading…
Reference in a new issue