Skip to content

Commit e77c311

Browse files
committed
OS (Linux): check for lmde
Fix #1415
1 parent 3463fc3 commit e77c311

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/detection/os/os_linux.c

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -273,5 +273,13 @@ void ffDetectOSImpl(FFOSResult* os)
273273
if (!detectDebianDerived(os))
274274
getDebianVersion(os);
275275
}
276+
else if(ffStrbufEqualS(&os->id, "linuxmint"))
277+
{
278+
if (ffStrbufEqualS(&os->name, "LMDE"))
279+
{
280+
ffStrbufSetS(&os->id, "lmde");
281+
ffStrbufSetS(&os->idLike, "linuxmint");
282+
}
283+
}
276284
#endif
277285
}

0 commit comments

Comments
 (0)