From 800ca522744d68ea0975b8582b01a17d2a7e45bd Mon Sep 17 00:00:00 2001 From: LoneRifle Date: Sat, 1 Dec 2018 10:11:44 +0800 Subject: [PATCH] Add support for Ubuntu 18.04 --- src/mongodb-download.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mongodb-download.ts b/src/mongodb-download.ts index 988a52b..d7c0481 100644 --- a/src/mongodb-download.ts +++ b/src/mongodb-download.ts @@ -608,6 +608,8 @@ export class MongoDBPlatform { name += "1404"; } else if (os.release === "16.04") { name += "1604"; + } else if (os.release === "18.04") { + name += "1804"; } else if (major_version === 16) { // default for major 16 to 1604 name += "1604";