Compare commits

..

2 commits

Author SHA1 Message Date
Petar Kapriš
6ce73f64e5 Add sudo to aurhelper command 2025-04-21 08:02:00 +02:00
Petar Kapriš
e6319d524f Debug 2025-04-21 08:01:50 +02:00

4
bs.sh
View file

@ -196,8 +196,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 2>&1 | tee dumpout1 awk -F "," '$1 ~ /^$/ { print $2 }' </tmp/progs.csv | xargs pacman --noconfirm --needed -S
awk -F "," '$1 ~ /^A$/ { print $2 }' </tmp/progs.csv | xargs "$aurhelper" --noconfirm --needed -S 2>&1 | tee dumpout2 awk -F "," '$1 ~ /^A$/ { print $2 }' </tmp/progs.csv | xargs sudo -u "$name" "$aurhelper" --noconfirm --needed -S
} }
finalize() { finalize() {