Paws/ShellScripts/fix-packages.sh

7 lines
148 B
Bash
Executable file

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