mirror of
https://github.com/joglomedia/LEMPer.git
synced 2026-04-11 23:48:19 +00:00
minor fix
This commit is contained in:
@@ -56,10 +56,8 @@ function init_mongodb_install() {
|
||||
|
||||
echo "Installing MongoDB server and MongoDB PHP module..."
|
||||
if hash dpkg 2>/dev/null; then
|
||||
{
|
||||
run apt-get update
|
||||
run apt-get -y install mongodb-org mongodb-org-server
|
||||
}
|
||||
run apt-get update
|
||||
run apt-get -y install mongodb-org mongodb-org-server
|
||||
elif hash yum 2>/dev/null; then
|
||||
if [ "${VERSION_ID}" == "5" ]; then
|
||||
yum -y update
|
||||
|
||||
Reference in New Issue
Block a user