From f9660a95098f2247987ef542a7e4ce14f802cf14 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Sun, 13 Feb 2022 17:27:29 +0100 Subject: util.dependencies: Refer to 'apt' instead of 'apt-get' The more modern and user friendly frontend, should be in every supported version of Debian and Ubuntu by now --- util/dependencies.lua | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'util/dependencies.lua') diff --git a/util/dependencies.lua b/util/dependencies.lua index f6ba7621..4cd45a05 100644 --- a/util/dependencies.lua +++ b/util/dependencies.lua @@ -46,7 +46,7 @@ local function check_dependencies() if not lxp then missingdep("luaexpat", { - { "Debian/Ubuntu", "sudo apt-get install lua-expat" }; + { "Debian/Ubuntu", "sudo apt install lua-expat" }; { "luarocks", "luarocks install luaexpat" }; { "Source", "http://matthewwild.co.uk/projects/luaexpat/" }; }, nil, err); @@ -57,7 +57,7 @@ local function check_dependencies() if not socket then missingdep("luasocket", { - { "Debian/Ubuntu", "sudo apt-get install lua-socket" }; + { "Debian/Ubuntu", "sudo apt install lua-socket" }; { "luarocks", "luarocks install luasocket" }; { "Source", "http://www.tecgraf.puc-rio.br/~diego/professional/luasocket/" }; }, nil, err); @@ -72,7 +72,7 @@ local function check_dependencies() if not lfs then missingdep("luafilesystem", { { "luarocks", "luarocks install luafilesystem" }; - { "Debian/Ubuntu", "sudo apt-get install lua-filesystem" }; + { "Debian/Ubuntu", "sudo apt install lua-filesystem" }; { "Source", "http://www.keplerproject.org/luafilesystem/" }; }, nil, err); fatal = true; @@ -82,7 +82,7 @@ local function check_dependencies() if not ssl then missingdep("LuaSec", { - { "Debian/Ubuntu", "sudo apt-get install lua-sec" }; + { "Debian/Ubuntu", "sudo apt install lua-sec" }; { "luarocks", "luarocks install luasec" }; { "Source", "https://github.com/brunoos/luasec" }; }, "SSL/TLS support will not be available", err); @@ -92,7 +92,7 @@ local function check_dependencies() if not bit then missingdep("lua-bitops", { - { "Debian/Ubuntu", "sudo apt-get install lua-bitop" }; + { "Debian/Ubuntu", "sudo apt install lua-bitop" }; { "luarocks", "luarocks install luabitop" }; { "Source", "http://bitop.luajit.org/" }; }, "WebSocket support will not be available", err); @@ -101,7 +101,7 @@ local function check_dependencies() local unbound, err = softreq"lunbound"; -- luacheck: ignore 211/err if not unbound then missingdep("lua-unbound", { - { "Debian/Ubuntu", "sudo apt-get install lua-unbound" }; + { "Debian/Ubuntu", "sudo apt install lua-unbound" }; { "luarocks", "luarocks install luaunbound" }; { "Source", "https://www.zash.se/luaunbound.html" }; }, "Old DNS resolver library will be used", err); -- cgit v1.2.3