소스 검색

fix is_supported

ruki 8 달 전
부모
커밋
802b3493c5
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      scripts/packages.lua

+ 1 - 0
scripts/packages.lua

@@ -5,6 +5,7 @@ import("private.core.base.select_script")
 
 -- is supported platform and architecture?
 function is_supported(instance, plat, arch, opt)
+    opt = opt or {}
     if instance:is_template() then
         return false
     end