Compare commits

..

3 commits

Author SHA1 Message Date
Petar Kapriš
8dd73b9e7b Add command to remove vim package to avoid conflicts 2025-04-21 08:28:47 +02:00
Petar Kapriš
99798da5e0 Fix farewell message 2025-04-21 08:25:59 +02:00
Petar Kapriš
6e29a8caa1 Add sudo to aurhelper command 2025-04-21 08:25:59 +02:00

7
bs.sh
View file

@ -1,8 +1,5 @@
#!/bin/sh
set -x
trap read debug
### Brief install instructions for convenience ###
# Partition disk:
@ -196,9 +193,9 @@ maininstallations() {
aurinstalled=$(pacman -Qqm)
# Field 1: install-type, Field 2: program, Field 3: comment
# Install pacman packages:
pacman --noconfirm -Rnd vim # Remove vim as it will conflict with gvim
awk -F "," '$1 ~ /^$/ { print $2 }' </tmp/progs.csv | xargs pacman --noconfirm --needed -S
# awk -F "," '$1 ~ /^A$/ { print $2 }' </tmp/progs.csv | xargs sudo -u "$name" "$aurhelper" --noconfirm --needed -S
exit 2
awk -F "," '$1 ~ /^A$/ { print $2 }' </tmp/progs.csv | xargs sudo -u "$name" "$aurhelper" --noconfirm --needed -S
}
finalize() {