aboutsummaryrefslogtreecommitdiff
path: root/src/luarocks/deps.lua
diff options
context:
space:
mode:
Diffstat (limited to 'src/luarocks/deps.lua')
-rw-r--r--src/luarocks/deps.lua16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/luarocks/deps.lua b/src/luarocks/deps.lua
index f02070a6..f335ebc0 100644
--- a/src/luarocks/deps.lua
+++ b/src/luarocks/deps.lua
@@ -333,14 +333,14 @@ function deps.fulfill_dependencies(rockspec, depskey, deps_mode, verify, deplock
333 if okfulfill then 333 if okfulfill then
334 deplocks.add(depskey, depq.name, found_or_err) 334 deplocks.add(depskey, depq.name, found_or_err)
335 else 335 else
336 336 if depq.constraints and depq.constraints[1] and depq.constraints[1].no_upgrade then
337 337 util.printerr("This version of " .. name .. " is designed for use with")
338 338 util.printerr(tostring(depq) .. ", but is configured to avoid upgrading it")
339 339 util.printerr("automatically. Please upgrade " .. depq.name .. " with")
340 340 util.printerr(" luarocks install " .. depq.name)
341 341 util.printerr("or look for a suitable version of " .. name .. " with")
342 342 util.printerr(" luarocks search " .. name)
343 343 end
344 return nil, found_or_err 344 return nil, found_or_err
345 end 345 end
346 end 346 end