From 863896884fc58153f9f2246e240777c19e6520fd Mon Sep 17 00:00:00 2001 From: selfhoster1312 Date: Mon, 6 May 2024 17:05:47 +0200 Subject: [PATCH] Fix apt install curl, add error message --- bookworm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bookworm b/bookworm index 494aed4..4dc956d 100755 --- a/bookworm +++ b/bookworm @@ -273,7 +273,7 @@ function check_assertions() # Assert curl is setup if ! command -v curl 2>&1 >/dev/null; then - apt_get_wrapper --yes install curl + apt_install curl || { error "Yunohost installer requires curl to be installed, but it failed to install it."; return 1; } fi # Check PATH var