mirror of
https://gitlab.com/CinnamonSlackBuilds/csb.git
synced 2024-12-26 21:59:28 +01:00
Add missing test script
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackware-id.org>
This commit is contained in:
parent
876e35d910
commit
dc50d7af32
1 changed files with 12 additions and 0 deletions
12
test-script/libtest.sh
Executable file
12
test-script/libtest.sh
Executable file
|
@ -0,0 +1,12 @@
|
||||||
|
#!/bin/bash
|
||||||
|
# Simple script to check broken or missing libraries
|
||||||
|
# Willy Sudiarto Raharjo 2014
|
||||||
|
|
||||||
|
for L in `ls /usr/bin`; do
|
||||||
|
if [ -f /usr/bin/$L ]; then
|
||||||
|
ldd /usr/bin/$L | grep -i "not found"
|
||||||
|
if [ $? -eq 0 ]; then
|
||||||
|
echo $L;
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
done
|
Loading…
Reference in a new issue