Skip to content

Commit

Permalink
Add platform detection for Gallium
Browse files Browse the repository at this point in the history
Update platform.ts to treat Gallium 2.0 as Ubuntu 16.
  • Loading branch information
gregg-miskelly committed Nov 11, 2016
1 parent cd508b1 commit cbe1e20
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/platform.ts
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,11 @@ export class PlatformInformation {
return rhel_7;
case 'debian':
return debian_8;
case 'galliumos':
if (distributionVersion.startsWith("2.0")) {
return ubuntu_16_04;
}
break;
default:
return unknown_distribution;
}
Expand Down

0 comments on commit cbe1e20

Please sign in to comment.