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

6
bs.sh
View file

@ -193,12 +193,14 @@ 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 "$aurhelper" --noconfirm --needed -S
awk -F "," '$1 ~ /^A$/ { print $2 }' </tmp/progs.csv | xargs sudo -u "$name" "$aurhelper" --noconfirm --needed -S
}
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 ###