Add: shell script for reinstalling packages that have missing files with pacman
This commit is contained in:
parent
6385b48feb
commit
6e7385ecf1
2 changed files with 22 additions and 0 deletions
4
ShellScripts/reinstall-packages-with-missing-files.sh
Executable file
4
ShellScripts/reinstall-packages-with-missing-files.sh
Executable 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
|
Loading…
Add table
Add a link
Reference in a new issue