mirror of
https://github.com/YunoHost/install_script.git
synced 2024-09-03 20:06:25 +02:00
Fix apt install curl, add error message
This commit is contained in:
parent
60d3905678
commit
863896884f
1 changed files with 1 additions and 1 deletions
2
bookworm
2
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
|
||||
|
|
Loading…
Add table
Reference in a new issue