OS (Linux): check for lmde

Fix #1415
This commit is contained in:
Carter Li
2024-11-25 14:18:33 +08:00
parent 3463fc331f
commit e77c3119ca
+8
View File
@@ -273,5 +273,13 @@ void ffDetectOSImpl(FFOSResult* os)
if (!detectDebianDerived(os))
getDebianVersion(os);
}
else if(ffStrbufEqualS(&os->id, "linuxmint"))
{
if (ffStrbufEqualS(&os->name, "LMDE"))
{
ffStrbufSetS(&os->id, "lmde");
ffStrbufSetS(&os->idLike, "linuxmint");
}
}
#endif
}