Add: script to fix pacman packages with brocken ldconfig links
This commit is contained in:
parent
ccdefea90b
commit
cd60ec9626
1 changed files with 7 additions and 0 deletions
7
ShellScripts/fix-packages.sh
Executable file
7
ShellScripts/fix-packages.sh
Executable 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
|
Loading…
Reference in a new issue