Remove LC_ALL

This commit is contained in:
RealStickman 2023-05-21 18:43:43 +02:00
parent 877bfb66d1
commit b60e5bc5e8

View File

@ -244,7 +244,7 @@ rm "$setupdir/notfoundpackages.txt"
echo Uninstalling unused packages
#sudo pacman -Rns - <"$setupdir/packages/uninstall.txt"
while read package; do
yes | LC_ALL=en_US.UTF-8 sudo pacman -Rns "$package"
yes | sudo pacman -Rns "$package"
done <"$setupdir/packages/uninstall.txt"
echo Uninstalled unused packages
@ -252,7 +252,7 @@ echo Uninstalled unused packages
echo Installing default pacman programs
#sudo pacman -S --needed - <"$setupdir/packages/officialpkgs.txt"
while read package; do
yes | LC_ALL=en_US.UTF-8 sudo pacman -S --needed "$package" || echo "$package" >>"$setupdir/notfoundpackages.txt"
yes | sudo pacman -S --needed "$package" || echo "$package" >>"$setupdir/notfoundpackages.txt"
exit
done <"$setupdir/packages/officialpkgs.txt"
echo Installed official programs
@ -261,7 +261,7 @@ echo Installed official programs
echo Installing wine
#sudo pacman -S --needed - <"$setupdir/packages/winepkgs.txt"
while read package; do
yes | LC_ALL=en_US.UTF-8 sudo pacman -S --needed "$package" || echo "$package" >>"$setupdir/notfoundpackages.txt"
yes | sudo pacman -S --needed "$package" || echo "$package" >>"$setupdir/notfoundpackages.txt"
done <"$setupdir/packages/winepkgs.txt"
echo Installed wine