mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-16 17:19:32 +02:00
* 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 -
This commit is contained in:
parent
2083396fbc
commit
660a7c4b6d
@ -296,6 +296,7 @@ begin
|
||||
|
||||
MaybeCreateLocalDirs;
|
||||
LoadCompilerDefaults;
|
||||
LoadLocalAvailableMirrors;
|
||||
|
||||
// Load local repository, update first if this is a new installation
|
||||
// errors will only be reported as warning. The user can be bootstrapping
|
||||
@ -309,7 +310,6 @@ begin
|
||||
Log(vlWarning,E.Message);
|
||||
end;
|
||||
end;
|
||||
LoadLocalAvailableMirrors;
|
||||
LoadLocalAvailableRepository;
|
||||
FindInstalledPackages(FPMakeCompilerOptions,true);
|
||||
CheckFPMakeDependencies;
|
||||
|
Loading…
Reference in New Issue
Block a user