diff options
Diffstat (limited to 'scripts/deprecated-library-user-count.sh')
-rwxr-xr-x | scripts/deprecated-library-user-count.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/deprecated-library-user-count.sh b/scripts/deprecated-library-user-count.sh index a917bd76..b618d424 100755 --- a/scripts/deprecated-library-user-count.sh +++ b/scripts/deprecated-library-user-count.sh @@ -7,7 +7,8 @@ cd /var/db/pkg for lib in $LIBS; do echo -n "${lib}: " - grep "${lib}" */*/NEEDED.ELF.2 |wc -l + lib_owner=`qfile -eCq /usr/lib/${lib}*.so` + grep "${lib}" */*/NEEDED.ELF.2 --exclude="${lib_owner}/NEEDED.ELF.2" |wc -l done popd >/dev/null |