* When RemoteRepository is "auto" download a list of mirrors, not the other way around

git-svn-id: trunk@12487 -
This commit is contained in:
joost 2009-01-03 15:26:56 +00:00
parent 7da5ba5b4d
commit c5d776651e

View File

@ -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);