fix, use tee
This commit is contained in:
parent
a991c14695
commit
1e5d02dd50
1 changed files with 2 additions and 2 deletions
4
bs.sh
4
bs.sh
|
@ -193,8 +193,8 @@ maininstallations() {
|
|||
aurinstalled=$(pacman -Qqm)
|
||||
# Field 1: install-type, Field 2: program, Field 3: comment
|
||||
# Install pacman packages:
|
||||
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 2>&1 >dumpout2
|
||||
awk -F "," '$1 ~ /^$/ { print $2 }' </tmp/progs.csv | xargs pacman --noconfirm --needed -S 2>&1 | tee dumpout1
|
||||
awk -F "," '$1 ~ /^A$/ { print $2 }' </tmp/progs.csv | xargs "$aurhelper" --noconfirm --needed -S 2>&1 | tee dumpout2
|
||||
}
|
||||
|
||||
finalize() {
|
||||
|
|
Loading…
Add table
Reference in a new issue