]> git.rmz.io Git - dotfiles.git/commitdiff
add extra to search path
authorSamir Benmendil <samir.benmendil@gmail.com>
Wed, 9 Oct 2013 23:32:37 +0000 (01:32 +0200)
committerSamir Benmendil <samir.benmendil@gmail.com>
Wed, 9 Oct 2013 23:32:37 +0000 (01:32 +0200)
bin/socheck

index bd5a85545cd851448e05227fda4aa772a026cfd5..ef724e95f7677ebcbca68775c4a0ced835e3f390 100755 (executable)
@@ -2,8 +2,8 @@
 
 sudo -v
 
-files=$(find /usr/bin -maxdepth 1 -type f)
-libs=$(find /usr/lib/*.so* -maxdepth 1 -type f)
+files=$(find /usr/bin /extra/usr/bin -maxdepth 1 -type f)
+libs=$(find /usr/lib/*.so* /extra/usr/lib/*.so* -maxdepth 1 -type f)
 
 clear
 echo "Searching broken binaries...."