Skip to content

Commit f345486

Browse files
committed
OS (Linux): fix VanillaOS detection
1 parent 7a2e071 commit f345486

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/detection/os/os_linux.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,11 @@ FF_MAYBE_UNUSED static void getUbuntuFlavour(FFOSResult* result)
8383
ffStrbufSetS(&result->versionID, result->prettyName.chars + strlen("Rhino Linux "));
8484
return;
8585
}
86+
else if(ffStrbufStartsWithS(&result->prettyName, "VanillaOS "))
87+
{
88+
ffStrbufSetS(&result->id, "vanilla");
89+
ffStrbufSetS(&result->idLike, "ubuntu");
90+
}
8691

8792
if(ffStrContains(xdgConfigDirs, "kde") || ffStrContains(xdgConfigDirs, "plasma") || ffStrContains(xdgConfigDirs, "kubuntu"))
8893
{

0 commit comments

Comments
 (0)