diff options
| author | ruki <[email protected]> | 2021-01-24 21:58:55 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2021-01-24 21:58:55 +0800 |
| commit | 80aa72c198b210343c37ecb7db584a700274a783 (patch) | |
| tree | 2bded3c1f72fa0c3ec1d06af99de86b1068468b4 /xmake/actions/require/impl/package.lua | |
| parent | 4d0be8332e7026fed9b3ffbe00c055c23d24a9bb (diff) | |
fix install package
Diffstat (limited to 'xmake/actions/require/impl/package.lua')
| -rw-r--r-- | xmake/actions/require/impl/package.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/actions/require/impl/package.lua b/xmake/actions/require/impl/package.lua index f83764a45..cb9b8436b 100644 --- a/xmake/actions/require/impl/package.lua +++ b/xmake/actions/require/impl/package.lua @@ -972,7 +972,7 @@ function install_packages(requires, opt) local packages_download = {} local packages_unsupported = {} for _, package in ipairs(packages) do - if not package:exists() and (#package:urls() > 0 or package:script("install")) then + if not package:exists() then if package:supported() then if #package:urls() > 0 then packages_download[tostring(package)] = package |
