mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-23 00:09:31 +02:00
* patch from peter
git-svn-id: trunk@11943 -
This commit is contained in:
parent
e632e754cf
commit
901bf9689e
@ -315,7 +315,7 @@ begin
|
||||
|
||||
if ParaPackages.Count=0 then
|
||||
begin
|
||||
ActionPackage:=InstalledRepository.AddPackage(CurrentDirPackageName);
|
||||
ActionPackage:=AvailableRepository.AddPackage(CurrentDirPackageName);
|
||||
pkghandler.ExecuteAction(CurrentDirPackageName,ParaAction);
|
||||
end
|
||||
else
|
||||
@ -325,7 +325,7 @@ begin
|
||||
begin
|
||||
if FileExists(ParaPackages[i]) then
|
||||
begin
|
||||
ActionPackage:=InstalledRepository.AddPackage(CmdLinePackageName);
|
||||
ActionPackage:=AvailableRepository.AddPackage(CmdLinePackageName);
|
||||
ActionPackage.LocalFileName:=ExpandFileName(ParaPackages[i]);
|
||||
pkghandler.ExecuteAction(CmdLinePackageName,ParaAction);
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user