Преглед изворни кода

* Load the local mirrors before an update is tried if it is a new installation or else the update will always fail

git-svn-id: trunk@12459 -
joost пре 17 година
родитељ
комит
660a7c4b6d
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      utils/fppkg/fppkg.pp

+ 1 - 1
utils/fppkg/fppkg.pp

@@ -296,6 +296,7 @@ begin
 
 
     MaybeCreateLocalDirs;
     MaybeCreateLocalDirs;
     LoadCompilerDefaults;
     LoadCompilerDefaults;
+    LoadLocalAvailableMirrors;
 
 
     // Load local repository, update first if this is a new installation
     // Load local repository, update first if this is a new installation
     // errors will only be reported as warning. The user can be bootstrapping
     // errors will only be reported as warning. The user can be bootstrapping
@@ -309,7 +310,6 @@ begin
             Log(vlWarning,E.Message);
             Log(vlWarning,E.Message);
         end;
         end;
       end;
       end;
-    LoadLocalAvailableMirrors;
     LoadLocalAvailableRepository;
     LoadLocalAvailableRepository;
     FindInstalledPackages(FPMakeCompilerOptions,true);
     FindInstalledPackages(FPMakeCompilerOptions,true);
     CheckFPMakeDependencies;
     CheckFPMakeDependencies;