Paws/ShellScripts/reinstall-packages-with-missing-files.sh

5 lines
164 B
Bash
Raw Normal View History

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