Skip to content

Commit

Permalink
Update install.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
midoks committed Dec 19, 2024
1 parent 6ac78d9 commit d0e96ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/mysql-community/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,10 @@ else
OSNAME='unknow'
fi

VERSION_ID=`cat /etc/*-release | grep VERSION_ID | awk -F = '{print $2}' | awk -F "\"" '{print $2}'`
VERSION_ID=`cat /etc/*-release | grep 'VERSION_ID' | awk -F = '{print $2}' | awk -F "\"" '{print $2}'`

# 针对ubuntu24进行优化
if [ "$OSNAME" == "ubuntu" ] && [ "$VERSION_ID" ~ "24" ];then
if [[ "$OSNAME" == "ubuntu" ]] && [[ "$VERSION_ID" =~ "24" ]]; then
cur_dir=`pwd`
cd /usr/lib/x86_64-linux-gnu
if [ ! -f libaio.so.1 ];then
Expand Down

0 comments on commit d0e96ea

Please sign in to comment.