Index: /BOL/script_install/install_lmdz_new.sh
===================================================================
--- /BOL/script_install/install_lmdz_new.sh	(revision 4216)
+++ /BOL/script_install/install_lmdz_new.sh	(revision 4217)
@@ -568,5 +568,5 @@
 
 ###########################################################################
-if [ $netcdf = 1 -a ! -d $MODEL/netcdf ] ; then
+if [ $netcdf = 1 ] ; then
     ###########################################################################
     cd $MODEL
@@ -576,5 +576,5 @@
     echo '##########################################################'
     echo log file : $netcdflog
-    if [ "$with_xios" = "n" ] ; then
+    if [[ "$with_xios" = "n" && ! -d $MODEL/netcdf4_hdf5_seq ]] ; then
 	myget import/install_netcdf4_hdf5_seq.bash
 	chmod +x install_netcdf4_hdf5_seq.bash
@@ -596,5 +596,6 @@
 	# par certains compilateurs
 	if [ ! -e lib -a -d lib64 ] ; then ln -s lib64 lib; fi
-    else
+    elif [[ "$with_xios" = "y" && ! -d $MODEL/netcdf4_hdf5 ]]
+    then
 	# download and compile hdf5 and netcdf, etc. using the
 	# install_netcdf4_hdf5.bash script
