Skip to content

Commit 524397b

Browse files
Fix detection on Oracle Linux
1 parent a4815ac commit 524397b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/utils.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ export function getSupportedPlatform() {
6060
case 'ubuntu':
6161
const versionId = getValue("VERSION_ID");
6262
if (versionId.startsWith("14")) {
63+
// This also works for Linux Mint
6364
return SupportedPlatform.Ubuntu14;
6465
}
6566
else if (versionId.startsWith("16")) {
@@ -75,7 +76,7 @@ export function getSupportedPlatform() {
7576
return SupportedPlatform.RHEL;
7677
case 'debian':
7778
return SupportedPlatform.Debian;
78-
case 'oracle':
79+
case 'ol':
7980
// Oracle Linux is binary compatible with CentOS
8081
return SupportedPlatform.CentOS;
8182
}

0 commit comments

Comments
 (0)