a guest Jan 12th, 2019 72 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- #! /usr/bin/bash
- pacman -Qsq | while read line;
- do echo \> checking $line; pacman -Qlq $line | grep -vP '^/etc' | grep -vP '/$' |
- while read line2
- do if [[ ! -e "$line2" ]] && [[ ! -s "$line2" ]]
- then echo $line $line2 | tee -a corrupt; break
- echo Now run 'xargs pacman -S <<< "$(cut -d "\' \'" -f 1 corrupt)"'
RAW Paste Data