From dfd893aa2ecdea0fd12b04a4553f63d3299498c6 Mon Sep 17 00:00:00 2001 From: Teddysun Date: Wed, 2 Oct 2024 22:24:14 +0900 Subject: [PATCH] Update comments Fixed issue #277 Signed-off-by: Teddysun --- include/mysql.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/mysql.sh b/include/mysql.sh index 18006ab..25c6c24 100644 --- a/include/mysql.sh +++ b/include/mysql.sh @@ -67,6 +67,12 @@ common_install() { local yum_list=(ncurses-devel cmake m4 bison libaio libaio-devel numactl-devel libevent perl-Data-Dumper) _info "Installing dependencies for Database..." if check_sys packageManager apt; then + # Replace some dependencies on Ubuntu 24.04 + if ubuntuversion 24; then + apt_list=(${apt_list[@]/#libncurses5/libncurses6}) + apt_list=(${apt_list[@]/#libncurses5-dev/libncurses-dev}) + apt_list=(${apt_list[@]/#libaio1/libaio1t64}) + fi for depend in ${apt_list[@]}; do error_detect_depends "apt-get -y install ${depend}" done