Changeset

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
parents 12285:ed23bbf3b946
children 12287:5cd075ed4fd3
files INSTALL util/dependencies.lua
diffstat 2 files changed, 7 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/INSTALL	Thu Feb 10 21:21:03 2022 +0100
+++ b/INSTALL	Sun Feb 13 17:27:29 2022 +0100
@@ -15,7 +15,7 @@
     -   [GNU libidn](http://www.gnu.org/software/libidn/)
 
 These can be installed on Debian/Ubuntu by running
-`apt-get build-dep prosody` or by installing the packages
+`apt build-dep prosody` or by installing the packages
 `liblua5.4-dev`, `libicu-dev` and `libssl-dev`.
 
 On Mandriva try:
--- 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);