summaryrefslogtreecommitdiff
blob: 8fe13cc00b01c60259afb674c9a41efaa8949fac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/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