Skip to content

Commit

Permalink
Merge pull request #5 from travis1234/patch-1
Browse files Browse the repository at this point in the history
 Fix to allow automatic download on 16.10 & 18.10
  • Loading branch information
taeguscromis authored Jul 27, 2019
2 parents 9b4f10d + 5534043 commit 7488e2a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions units/download.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ module.exports = {
console.log(vsprintf("Running on %s", [linuxOSInfo.pretty_name]));

if (linuxOSInfo.id == "ubuntu") {
if ((linuxOSInfo.version_id !== "16.04") && (linuxOSInfo.version_id !== "18.04")) {
if ((linuxOSInfo.version_id !== "16.04") && (linuxOSInfo.version_id !== "16.10") && (linuxOSInfo.version_id !== "18.04")
&& (linuxOSInfo.version_id !== "18.10")) {
callback(wrongLinuxOSMsg);
return false;
}
Expand Down Expand Up @@ -175,4 +176,4 @@ module.exports = {
callback(err.message);
});
}
};
};

0 comments on commit 7488e2a

Please sign in to comment.