mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-26 06:49:47 +02:00
* When RemoteRepository is "auto" download a list of mirrors, not the other way around
git-svn-id: trunk@12487 -
This commit is contained in:
parent
7da5ba5b4d
commit
c5d776651e
@ -128,7 +128,7 @@ begin
|
||||
// Download and load mirrors.xml
|
||||
// This can be skipped when a custom RemoteRepository is configured
|
||||
if (GlobalOptions.RemoteMirrorsURL<>'') and
|
||||
(GlobalOptions.RemoteRepository<>'auto') then
|
||||
(GlobalOptions.RemoteRepository='auto') then
|
||||
begin
|
||||
Log(vlCommands,SLogDownloading,[GlobalOptions.RemoteMirrorsURL,GlobalOptions.LocalMirrorsFile]);
|
||||
DownloadFile(GlobalOptions.RemoteMirrorsURL,GlobalOptions.LocalMirrorsFile);
|
||||
|
Loading…
Reference in New Issue
Block a user