]>
git.rmz.io Git - dotfiles.git/blob - bin/socheck
f85bb2186c11fcda2d849aa137c3d33dc5b2a24a
5 if sudo ldd
$f | grep -q "not found"; then
6 echo "$(LC_ALL=C pacman -Qoq $f) $f seems broken!"
13 echo "Searching broken binaries...."
14 bins
=( $
(find /usr
/bin
-maxdepth 1 -type f
-executable) )
18 echo "Searching broken libs...."
19 libs
=( $
(find /usr
/lib
/*.so
* -maxdepth 1 -type f
-executable) )