Add: shell script for reinstalling packages that have missing files with pacman

This commit is contained in:
Aroy-Art 2024-06-23 15:45:53 +02:00
parent 6385b48feb
commit 6e7385ecf1
Signed by: Aroy
GPG key ID: DB9689E9391DD156
2 changed files with 22 additions and 0 deletions

View file

@ -0,0 +1,4 @@
pacman -Qk 2>/dev/null | grep -v ' 0 missing files' | cut -d: -f1 |
while read -r package; do
pacman -S "$package" --overwrite "*" --noconfirm
done