Skip to content

Commit

Permalink
Merge pull request #1 from Jellonator/Jellonator-ubuntu-patch-1
Browse files Browse the repository at this point in the history
Fixed "lime setup linux" on Ubuntu 13.10 and later
  • Loading branch information
Jellonator committed Sep 26, 2015
2 parents 5692989 + f08925a commit 318ebab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/utils/PlatformSetup.hx
Original file line number Diff line number Diff line change
Expand Up @@ -1761,7 +1761,7 @@ class PlatformSetup {
var lsbId = ProcessHelper.runProcess ("", "lsb_release", ["-si"], true, true, true);
var lsbRelease = ProcessHelper.runProcess ("", "lsb_release", ["-sr"], true, true, true);
var arch = ProcessHelper.runProcess ("", "uname", ["-m"], true, true, true);
var isSaucy = lsbId == "Ubuntu\n" && lsbRelease == "13.10\n" && arch == "x86_64\n";
var isSaucy = lsbId == "Ubuntu\n" && lsbRelease >= "13.10\n" && arch == "x86_64\n";

var packages = isSaucy ? linuxUbuntuSaucyPackages : linuxAptPackages;

Expand Down Expand Up @@ -2271,4 +2271,4 @@ class Progress extends haxe.io.Output {
max = m;
}

}
}

0 comments on commit 318ebab

Please sign in to comment.