Update install.sh

pull/328/head
midoks 2 years ago
parent 0682ca4d4d
commit 6693edb924
  1. 4
      plugins/mongodb/install.sh

@ -104,14 +104,14 @@ rm -r /var/lib/mongodb
Install_Linux_Debian() Install_Linux_Debian()
{ {
##################### debian start ##################### ##################### debian start #####################
if [ "$SYS_VERSION_ID" -ge "11" ]; then if [ "$SYS_VERSION_ID" -eq "11" ] && [ "$VERSION" -eq "4.4" ]; then
echo "Not yet supported" echo "Not yet supported"
exit 1 exit 1
fi fi
if [ -f /usr/lib/systemd/system/mongod.service ];then if [ -f /usr/lib/systemd/system/mongod.service ];then
echo 'alreay exist!' echo 'alreay install exist!'
exit 0 exit 0
fi fi

Loading…
Cancel
Save