Search:
GitHub Login
Preferences
My Notifications
Tickets
Wiki
GitHub
Timeline
Roadmap
Ticket Reports
Search
Context Navigation
Back to Ticket #28000
Ticket #28000
: library_checker.sh
File library_checker.sh,
241 bytes
(added by
rmstonecipher@…
,
14 years ago
)
script to test for libpoppler.7.dylib
Line
1
#!/bin/sh
2
3
ports
=
""
4
for
f in
$(
find /opt/local/bin
)
$(
find /opt/local/lib -name
\*
.dylib
)
;
do
5
if
otool -L
$f
|
grep -q
'libpoppler\.7'
;
then
6
ports
+=
"\n
$(
port provides
$f
|
cut -d
' '
-f
5
)
"
7
fi
8
done
9
10
echo
$ports
|
sort
|
uniq
Download in other formats:
Original Format