From fa127227b736f194be92247bc59f52d0bdcb192d Mon Sep 17 00:00:00 2001 From: midoks Date: Wed, 13 Jul 2022 00:29:05 +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 88ea41ba6..c94b2506a 100755 --- a/plugins/mongodb/install.sh +++ b/plugins/mongodb/install.sh @@ -208,7 +208,7 @@ Install_app_linux() Install_Linux_Ubuntu elif [ "$OSNAME" == "debian" ];then Install_Linux_Debian - elif [ "$OSNAME" == "centos" ] || [ "$OSNAME" == "fedora" ];then + elif [ "$OSNAME" == "centos" ];then Install_Linux_CentOS elif [ "$OSNAME" == "opensuse" ];then Install_Linux_Opensuse @@ -250,7 +250,7 @@ if [ "$OSNAME" == "ubuntu" ];then Uninstall_Linux_Ubuntu elif [ "$OSNAME" == "debian" ];then Uninstall_Linux_Debian -elif [ "$OSNAME" == "centos" ] || [ "$OSNAME" == "fedora" ];then +elif [ "$OSNAME" == "centos" ];then Uninstall_Linux_CentOS elif [ "$OSNAME" == "opensuse" ];then Uninstall_Linux_Opensuse