forked from p15670423/monkey
remove ubuntu 14.04 support on mongo script
This commit is contained in:
parent
e9d74b1fbd
commit
051239ee09
|
@ -3,11 +3,7 @@
|
||||||
export os_version_monkey=$(cat /etc/issue)
|
export os_version_monkey=$(cat /etc/issue)
|
||||||
MONGODB_DIR=$1 # If using deb, this should be: /var/monkey/monkey_island/bin/mongodb
|
MONGODB_DIR=$1 # If using deb, this should be: /var/monkey/monkey_island/bin/mongodb
|
||||||
|
|
||||||
if [[ $os_version_monkey == "Ubuntu 14.04"* ]] ;
|
if [[ $os_version_monkey == "Ubuntu 16.04"* ]] ;
|
||||||
then
|
|
||||||
echo Detected Ubuntu 14.04
|
|
||||||
export tgz_url="https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-ubuntu1404-3.6.12.tgz"
|
|
||||||
elif [[ $os_version_monkey == "Ubuntu 16.04"* ]] ;
|
|
||||||
then
|
then
|
||||||
echo Detected Ubuntu 16.04
|
echo Detected Ubuntu 16.04
|
||||||
export tgz_url="https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-ubuntu1604-3.6.12.tgz"
|
export tgz_url="https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-ubuntu1604-3.6.12.tgz"
|
||||||
|
|
Loading…
Reference in New Issue