mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-11-02 08:59:35 +01:00
Opkman: Sort private repository before saving to file.
git-svn-id: trunk@56414 -
This commit is contained in:
parent
41c3d6a8d6
commit
2f06bf5238
@ -396,6 +396,7 @@ begin
|
||||
if FSerializablePackages.AddPackageFromJSON(JSON) then
|
||||
begin
|
||||
JSON := '';
|
||||
SerializablePackages.Sort(stName, soAscendent);
|
||||
if FSerializablePackages.PackagesToJSON(JSON) then
|
||||
begin
|
||||
if SaveJSONToFile(ExtractFilePath(FRepository.FPath) + cRemoteJSONFile, JSON) then
|
||||
@ -437,6 +438,7 @@ begin
|
||||
if FSerializablePackages.AddPackageFromJSON(JSON) then
|
||||
begin
|
||||
JSON := '';
|
||||
SerializablePackages.Sort(stName, soAscendent);
|
||||
if FSerializablePackages.PackagesToJSON(JSON) then
|
||||
begin
|
||||
if SaveJSONToFile(ExtractFilePath(FRepository.FPath) + cRemoteJSONFile, JSON) then
|
||||
|
||||
Loading…
Reference in New Issue
Block a user