diff options
Diffstat (limited to 'xmake/modules/private/action/require/install.lua')
| -rw-r--r-- | xmake/modules/private/action/require/install.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/private/action/require/install.lua b/xmake/modules/private/action/require/install.lua index 821991dee..e27e627cb 100644 --- a/xmake/modules/private/action/require/install.lua +++ b/xmake/modules/private/action/require/install.lua @@ -76,7 +76,7 @@ function main(requires_raw) -- -- attempt to install git from the builtin-packages first if git not found -- - if git and not repository.pulled() then + if git and (not repository.pulled() or option.get("upgrade")) then task.run("repo", {update = true}) end |
