Changeset

12147:02481502c3dc

util.dependencies: Enable warning about missing lua-unbound Packages exists now.
author Kim Alvefur <zash@zash.se>
date Wed, 05 Jan 2022 04:12:00 +0100
parents 12146:9c69c062d6b7
children 12148:b63bb2c4b6d9
files util/dependencies.lua
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/util/dependencies.lua	Wed Jan 05 04:04:45 2022 +0100
+++ b/util/dependencies.lua	Wed Jan 05 04:12:00 2022 +0100
@@ -99,13 +99,12 @@
 	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";