Add sudo to aurhelper command
This commit is contained in:
parent
2be03487f6
commit
6e29a8caa1
1 changed files with 1 additions and 1 deletions
2
bs.sh
2
bs.sh
|
@ -194,7 +194,7 @@ maininstallations() {
|
||||||
# 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
|
||||||
awk -F "," '$1 ~ /^A$/ { print $2 }' </tmp/progs.csv | xargs "$aurhelper" --noconfirm --needed -S
|
awk -F "," '$1 ~ /^A$/ { print $2 }' </tmp/progs.csv | xargs sudo -u "$name" "$aurhelper" --noconfirm --needed -S
|
||||||
}
|
}
|
||||||
|
|
||||||
finalize() {
|
finalize() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue