From 6693edb924c2babdfa19f2894384059b46c69c3d Mon Sep 17 00:00:00 2001 From: midoks Date: Fri, 6 Jan 2023 16:03:02 +0800 Subject: [PATCH] Update install.sh --- plugins/mongodb/install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/mongodb/install.sh b/plugins/mongodb/install.sh index 110e4db13..197169d43 100755 --- a/plugins/mongodb/install.sh +++ b/plugins/mongodb/install.sh @@ -104,14 +104,14 @@ rm -r /var/lib/mongodb Install_Linux_Debian() { ##################### debian start ##################### -if [ "$SYS_VERSION_ID" -ge "11" ]; then +if [ "$SYS_VERSION_ID" -eq "11" ] && [ "$VERSION" -eq "4.4" ]; then echo "Not yet supported" exit 1 fi if [ -f /usr/lib/systemd/system/mongod.service ];then - echo 'alreay exist!' + echo 'alreay install exist!' exit 0 fi