Add command to remove vim package to avoid conflicts

This commit is contained in:
Petar Kapriš 2025-04-21 08:28:47 +02:00
parent 99798da5e0
commit 8dd73b9e7b

1
bs.sh
View file

@ -193,6 +193,7 @@ 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
} }