소스 검색

* Ensure installer is there, needed by some packages

Michael VAN CANNEYT 2 년 전
부모
커밋
41da4ffdbb
1개의 변경된 파일6개의 추가작업 그리고 3개의 파일을 삭제
  1. 6 3
      packages/fpmake.pp

+ 6 - 3
packages/fpmake.pp

@@ -52,8 +52,11 @@ end;
 
 {$ifdef no_parent}
 begin
-  add_packages_comandlineoptions();
-  add_packages('');
-  Installer.Run;
+  if Assigned(Installer) then
+    begin
+    add_packages_comandlineoptions();
+    add_packages('');
+    Installer.Run;
+    end;
 end.
 {$endif no_parent}