Skip to content

Commit 5ece272

Browse files
Add platform detection for Gallium (#922)
Update platform.ts to treat Gallium 2.0 as Ubuntu 16.
1 parent 2e5c830 commit 5ece272

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/platform.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -308,6 +308,11 @@ export class PlatformInformation {
308308
return rhel_7;
309309
case 'debian':
310310
return debian_8;
311+
case 'galliumos':
312+
if (distributionVersion.startsWith("2.0")) {
313+
return ubuntu_16_04;
314+
}
315+
break;
311316
default:
312317
return unknown_distribution;
313318
}

0 commit comments

Comments
 (0)