Software /
code /
prosody
Diff
util/dependencies.lua @ 12286:ad88732eea51
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
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 13 Feb 2022 17:27:29 +0100 |
parent | 12147:02481502c3dc |
child | 12331:49739369dcad |
line wrap: on
line diff
--- a/util/dependencies.lua Thu Feb 10 21:21:03 2022 +0100 +++ b/util/dependencies.lua Sun Feb 13 17:27:29 2022 +0100 @@ -46,7 +46,7 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 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);