22 lines
409 B
Bash
22 lines
409 B
Bash
#!/bin/bash
|
|
|
|
check_symlinks() {
|
|
for file in `find ${1} -type l` ; do
|
|
|
|
if ! test -e ${file} ; then
|
|
echo "Broken symlink:"
|
|
echo "${file}"
|
|
fi
|
|
|
|
done
|
|
}
|
|
|
|
NBDIR="/usr/share/netbeans-4.0"
|
|
|
|
check_symlinks ${NBDIR}/ide4/modules/ext
|
|
check_symlinks ${NBDIR}/ide4/modules/autoload/ext
|
|
check_symlinks ${NBDIR}/ide4/config/TagLibraries/JSTL11
|
|
check_symlinks ${NBDIR}/platform4/modules/ext
|
|
|
|
${NBDIR}/bin/netbeans
|