Add: script to fix pacman packages with brocken ldconfig links

This commit is contained in:
Aroy-Art 2024-07-06 22:48:33 +02:00
parent ccdefea90b
commit cd60ec9626
Signed by: Aroy
GPG key ID: 583642324A1D2070

7
ShellScripts/fix-packages.sh Executable file
View file

@ -0,0 +1,7 @@
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