Skip to content

Commit 25cadc1

Browse files
committed
[Node] Fix mongodb install packages
1 parent ceadfa0 commit 25cadc1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

service/node/scripts/startup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ function prepcheck()
350350
if [ -n "`cat /etc/issue | grep -i Ubuntu`" ] && [ -z "`dpkg -l | grep mongodb`" ];
351351
then
352352
echo -e "\033[33m *WRAN* mongodb hadn't been installed , install it currently ... \033[0m"
353-
apt-get install mongodb -y
353+
apt-get install mongodb-server mongodb -y
354354
fi
355355

356356
apt-get install jq -y

0 commit comments

Comments
 (0)