Browse Source

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

git-svn-id: trunk@12487 -
joost 16 years ago
parent
commit
c5d776651e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      utils/fppkg/pkgcommands.pp

+ 1 - 1
utils/fppkg/pkgcommands.pp

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