Index: branches/5.1.x/core/install.php =================================================================== diff -u -N -r13780 -r13806 --- branches/5.1.x/core/install.php (.../install.php) (revision 13780) +++ branches/5.1.x/core/install.php (.../install.php) (revision 13806) @@ -1,6 +1,6 @@ toolkit->ConvertModuleVersion($version); - - if ($version < $this->toolkit->ConvertModuleVersion('5.1.0')) { + if (!preg_match('/^modules\//', $path)) { + // upgrade from 5.0.x/1.0.x to 5.1.x/1.1.x return 'modules/' . $path; }