mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-12-16 02:10:44 +01:00
* Replaced calls to procedures that depend on global variables, which
are not always set git-svn-id: trunk@35659 -
This commit is contained in:
parent
88e31dc8c3
commit
59cd3891e1
@ -251,7 +251,7 @@ begin
|
||||
begin
|
||||
Log(llCommands,SLogDownloading,[PackageManager.Options.GlobalSection.RemoteMirrorsURL,PackageManager.Options.GlobalSection.LocalMirrorsFile]);
|
||||
DownloadFile(PackageManager.Options.GlobalSection.RemoteMirrorsURL,PackageManager.Options.GlobalSection.LocalMirrorsFile, PackageManager);
|
||||
LoadLocalAvailableMirrors;
|
||||
PackageManager.LoadLocalAvailableMirrors;
|
||||
end;
|
||||
// Download packages.xml
|
||||
PackagesURL:=PackageManager.GetRemoteRepositoryURL(PackagesFileName);
|
||||
@ -260,7 +260,7 @@ begin
|
||||
// Read the repository again
|
||||
PackageManager.ScanAvailablePackages;
|
||||
// no need to log errors again
|
||||
FindInstalledPackages(PackageManager.CompilerOptions,False);
|
||||
PackageManager.ScanPackages;
|
||||
end;
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user