Better management of the dependencies
[scilab.git] / scilab / modules / atoms / macros / atoms_internals / atomsInstallUnregister.sci
index 8823c16..25b1c08 100644 (file)
@@ -139,9 +139,6 @@ function nbDel = atomsInstallUnregister(name,version,allusers)
                                
                                if installed_deps_in(k) == "["+name(j)+" - "+version(j)+"]" then
                                        found = 1;
-                               end
-                               
-                               if found == 1 then
                                        continue;
                                end
                                
@@ -149,6 +146,10 @@ function nbDel = atomsInstallUnregister(name,version,allusers)
                                        found = 0;
                                end
                                
+                               if found == 1 then
+                                       continue;
+                               end
+                               
                                if found == 0 then
                                        installed_deps_out = [ installed_deps_out , installed_deps_in(k) ];
                                end