From a7f881522b13000b90419f99991737af3d864620 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=80=9A=E6=B4=B2?= Date: Mon, 4 Nov 2024 09:19:53 +0800 Subject: [PATCH] OS (Linux): detect Lilidog --- src/detection/os/os_linux.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/detection/os/os_linux.c b/src/detection/os/os_linux.c index 700e18e76..b5b9e67ca 100644 --- a/src/detection/os/os_linux.c +++ b/src/detection/os/os_linux.c @@ -179,6 +179,13 @@ static bool detectDebianDerived(FFOSResult* result) ffStrbufSetS(&result->idLike, "debian"); return true; } + else if (ffStrbufStartsWith(&result->name, "Lilidog GNU/Linux")) + { + // https://github.com/fastfetch-cli/fastfetch/issues/1373 + ffStrbufSetS(&result->id, "lilidog"); + ffStrbufSetS(&result->idLike, "debian"); + return true; + } else if (access("/usr/bin/pveversion", X_OK) == 0) { ffStrbufSetS(&result->id, "pve");