mirror of
https://github.com/YunoHost-Apps/rocketchat_ynh.git
synced 2024-09-03 20:16:25 +02:00
Update _common.sh
This commit is contained in:
parent
7f660b2486
commit
d5e22bea58
1 changed files with 1 additions and 1 deletions
|
@ -336,7 +336,7 @@ ynh_install_mongo() {
|
||||||
local mongo_debian_release=$(ynh_get_debian_release)
|
local mongo_debian_release=$(ynh_get_debian_release)
|
||||||
|
|
||||||
if [[ $(cat /proc/cpuinfo) != *"avx"* && "$mongo_version" != "4.4" ]]; then
|
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
|
fi
|
||||||
if [[ $(cat /proc/cpuinfo) != *"avx"* && "$mongo_version" == "4.4" ]]; then
|
if [[ $(cat /proc/cpuinfo) != *"avx"* && "$mongo_version" == "4.4" ]]; then
|
||||||
ynh_print_warn --message="Installing Mongo for Buster due to incompatible cpu."
|
ynh_print_warn --message="Installing Mongo for Buster due to incompatible cpu."
|
||||||
|
|
Loading…
Reference in a new issue