diff options
author | Kim Alvefur <zash@zash.se> | 2022-01-05 04:12:00 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2022-01-05 04:12:00 +0100 |
commit | c43fbe25ecd1ed5c28f94cd17554fe0330358bee (patch) | |
tree | 58ae64454733a38bff381379414e4abd0b52d3c7 /util/dependencies.lua | |
parent | 0736ecc63d66fe9b141a43793d72747c2c42b400 (diff) | |
download | prosody-c43fbe25ecd1ed5c28f94cd17554fe0330358bee.tar.gz prosody-c43fbe25ecd1ed5c28f94cd17554fe0330358bee.zip |
util.dependencies: Enable warning about missing lua-unbound
Packages exists now.
Diffstat (limited to 'util/dependencies.lua')
-rw-r--r-- | util/dependencies.lua | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/util/dependencies.lua b/util/dependencies.lua index 5227f378..f6ba7621 100644 --- a/util/dependencies.lua +++ b/util/dependencies.lua @@ -99,13 +99,12 @@ local function check_dependencies() end local unbound, err = softreq"lunbound"; -- luacheck: ignore 211/err - if not unbound then -- luacheck: ignore 542 - --[[ TODO Re-enable once packages are available + if not unbound then missingdep("lua-unbound", { + { "Debian/Ubuntu", "sudo apt-get install lua-unbound" }; { "luarocks", "luarocks install luaunbound" }; { "Source", "https://www.zash.se/luaunbound.html" }; }, "Old DNS resolver library will be used", err); - --]] else package.preload["net.adns"] = function () local ub = require "net.unbound"; |