check_version()
{
-check_lib_version dot ${PATH}
-if [ "$?" -eq "0" ]; then
- #echo "The product ${PRODUCT} has been already installed on yours system"
- return 0
+isdot=`which dot 2>/dev/null`
+if [ -n "$isdot" ]; then
+ ver=`dot -V 2>&1 | awk '{print $3}'`
+ if [ "$ver" == "1.9" ]; then
+ return 0
+ fi
fi
return 1
}