Fix mongodb upgrade accidentally.
This commit is contained in:
parent
f9eb12bd3a
commit
e2ee286ade
|
@ -99,6 +99,9 @@ function fix_downgrade_mongod(){
|
|||
mongod_code="$(echo $?)"
|
||||
}
|
||||
function install_mongodb(){
|
||||
if [[ "$2" == "1" ]]; then #reinstall
|
||||
sudo rm -f /etc/apt/sources.list.d/mongodb-org-*
|
||||
fi
|
||||
case $1 in
|
||||
3.2)
|
||||
mongod_ver="3.2.22"
|
||||
|
|
Loading…
Reference in New Issue