Skip to content

Commit 8638968

Browse files
Fix apt install curl, add error message
1 parent 60d3905 commit 8638968

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bookworm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ function check_assertions()
273273

274274
# Assert curl is setup
275275
if ! command -v curl 2>&1 >/dev/null; then
276-
apt_get_wrapper --yes install curl
276+
apt_install curl || { error "Yunohost installer requires curl to be installed, but it failed to install it."; return 1; }
277277
fi
278278

279279
# Check PATH var

0 commit comments

Comments
 (0)