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

9
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:
@ -194,11 +197,13 @@ 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
exit 2
} }
finalize() { finalize() {
echo "The bootstrap script is complete, have fun with your new system!\\n\\nYou can log in using the command \"Hyprland\"." echo "The bootstrap script is complete, have fun with your new system!\\n\\nYou can log in as your user, and run the graphical\
environment using the command \"Hyprland\"."
} }
### THE ACTUAL SCRIPT ### ### THE ACTUAL SCRIPT ###