Salome HOME
fix a bug with 'test -n' option
[tools/install.git] / config_files / doxygen-1.3-rc2.sh
index 0fe4380e0b76adf6109b881d30d433aaf7f5f692..2aaf2f329cedaf5e04577cd029b2b48cfc85ab4f 100755 (executable)
@@ -15,9 +15,12 @@ if [ "$?" -ne "0" ]; then
    return 1
 fi
 check_lib_version doxywizard $PATH
-if [ "$?" -eq "0" ]; then
-   #echo "The product ${PRODUCT} has been already installed on yours system"
-   return 0
+if [ "$?" -ne "0" ]; then
+   return 1
+fi
+ver=`doxygen --version`
+if [ "$ver" == "1.3-rc2" ]; then
+    return 0
 fi
 return 1
 }