mirror of
https://github.com/YunoHost-Apps/dont-code_ynh.git
synced 2024-09-03 18:26:34 +02:00
fixed bad helper function name
Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com>
This commit is contained in:
parent
fd8a1d518e
commit
10b678ec30
1 changed files with 1 additions and 1 deletions
|
@ -317,7 +317,7 @@ ynh_install_mongo() {
|
|||
local mongo_debian_release=$(ynh_get_debian_release)
|
||||
|
||||
if [[ $(cat /proc/cpuinfo) != *"avx"* && "$mongo_version" != "4.4" ]]; then
|
||||
ynh_print_error --message="The version of Mongo you're trying to install may not be compatible with your cpu (Missing avx instruction set)."
|
||||
ynh_print_err --message="The version of Mongo you're trying to install may not be compatible with your cpu (Missing avx instruction set)."
|
||||
fi
|
||||
if [[ $(cat /proc/cpuinfo) != *"avx"* && "$mongo_version" == "4.4" ]]; then
|
||||
ynh_print_warn --message="Installing Mongo for Buster due to incompatible cpu."
|
||||
|
|
Loading…
Add table
Reference in a new issue