Paws/ShellScripts/fix-packages.sh

8 lines
148 B
Bash
Raw Normal View History

LANG=en_EN ldconfig 2> err.txt
for file in $(cut -d" " -f3 err.txt)
do
echo $file
pacman -S $(pacman -Fq $file) --noconfirm --overwrite "*"
done