Debug: show pacman output

This commit is contained in:
Petar Kapriš 2025-04-20 22:55:07 +02:00
parent 2be03487f6
commit a991c14695

4
bs.sh
View file

@ -193,8 +193,8 @@ maininstallations() {
aurinstalled=$(pacman -Qqm) aurinstalled=$(pacman -Qqm)
# Field 1: install-type, Field 2: program, Field 3: comment # Field 1: install-type, Field 2: program, Field 3: comment
# Install pacman packages: # Install pacman packages:
awk -F "," '$1 ~ /^$/ { print $2 }' </tmp/progs.csv | xargs pacman --noconfirm --needed -S awk -F "," '$1 ~ /^$/ { print $2 }' </tmp/progs.csv | xargs pacman --noconfirm --needed -S 2>&1 >dumpout1
awk -F "," '$1 ~ /^A$/ { print $2 }' </tmp/progs.csv | xargs "$aurhelper" --noconfirm --needed -S awk -F "," '$1 ~ /^A$/ { print $2 }' </tmp/progs.csv | xargs "$aurhelper" --noconfirm --needed -S 2>&1 >dumpout2
} }
finalize() { finalize() {