* patch from peter

git-svn-id: trunk@11943 -
This commit is contained in:
marco 2008-10-22 16:30:20 +00:00
parent e632e754cf
commit 901bf9689e

View File

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