]>
git.rmz.io Git - dotfiles.git/blob - bin/socheck
   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) )