aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2022-02-13 17:27:29 +0100
committerKim Alvefur <zash@zash.se>2022-02-13 17:27:29 +0100
commitf9660a95098f2247987ef542a7e4ce14f802cf14 (patch)
tree05345fbdb97b672d19b2ca31df072314d7ad83f4 /util
parent55055315eeefbed13bdad31ce78f16ab89dc0f6b (diff)
downloadprosody-f9660a95098f2247987ef542a7e4ce14f802cf14.tar.gz
prosody-f9660a95098f2247987ef542a7e4ce14f802cf14.zip
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
Diffstat (limited to 'util')
-rw-r--r--util/dependencies.lua12
1 files changed, 6 insertions, 6 deletions
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);