Compare commits

...

2 Commits

Author SHA1 Message Date
f3beae1cb6 Use looping over the package list
This avoids the situation where an unavailable package cancels the
    installation of all other packages in this step, resulting in an
    unusable system in the end.
2023-05-21 18:29:46 +02:00
f861658cd2 Add obviously bogus package 2023-05-21 18:29:38 +02:00
2 changed files with 13 additions and 3 deletions

View File

@ -240,17 +240,26 @@ done
#uninstalling unused packages
echo Uninstalling unused packages
sudo pacman -Rns - <"$setupdir/packages/uninstall.txt"
#sudo pacman -Rns - <"$setupdir/packages/uninstall.txt"
while read package; do
sudo pacman -Rns "$package"
done <"$setupdir/packages/uninstall.txt"
echo Uninstalled unused packages
#pacman programs
echo Installing default pacman programs
sudo pacman -S --needed - <"$setupdir/packages/officialpkgs.txt"
#sudo pacman -S --needed - <"$setupdir/packages/officialpkgs.txt"
while read package; do
sudo pacman -S --needed "$package" || echo "$package" >>notfoundpackages.txt
done <"$setupdir/packages/officialpkgs.txt"
echo Installed official programs
#install wine
echo Installing wine
sudo pacman -S --needed - <"$setupdir/packages/winepkgs.txt"
#sudo pacman -S --needed - <"$setupdir/packages/winepkgs.txt"
while read package; do
sudo pacman -S --needed "$package" || echo "$package" >>notfoundpackages.txt
done <"$setupdir/packages/winepkgs.txt"
echo Installed wine
# install paru-bin with yay, or download paru from github

View File

@ -92,6 +92,7 @@ piper
pipewire
pipewire-alsa
pipewire-jack
obviousbogus
pipewire-pulse
playerctl
polkit-gnome