Compare commits

..

7 commits

Author SHA1 Message Date
Petar Kapriš
fc2df33d0b debug 2025-04-21 08:06:03 +02:00
Petar Kapriš
e52df4bffc Fix farewell message 2025-04-21 08:03:54 +02:00
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
Petar Kapriš
474846a5ca debug 2025-04-20 23:13:36 +02:00
Petar Kapriš
1e5d02dd50 fix, use tee 2025-04-20 23:05:50 +02:00
Petar Kapriš
a991c14695 Debug: show pacman output 2025-04-20 22:56:57 +02:00

7
bs.sh
View file

@ -1,5 +1,8 @@
#!/bin/sh #!/bin/sh
set -x
trap read debug
### Brief install instructions for convenience ### ### Brief install instructions for convenience ###
# Partition disk: # Partition disk:
@ -193,9 +196,9 @@ 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:
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 ~ /^$/ { 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 # awk -F "," '$1 ~ /^A$/ { print $2 }' </tmp/progs.csv | xargs sudo -u "$name" "$aurhelper" --noconfirm --needed -S
exit 2
} }
finalize() { finalize() {