OS (Linux): remove special handling of Loc-OS

Unless a proper reason is provided
This commit is contained in:
李通洲
2024-05-21 18:53:31 +08:00
parent c72fdab301
commit 5ec272acff
2 changed files with 1 additions and 7 deletions
-6
View File
@@ -157,12 +157,6 @@ static bool detectDebianDerived(FFOSResult* result)
ffStrbufSetNS(&result->versionID, versionEnd - versionStart, result->prettyName.chars + versionStart);
return true;
}
else if (ffStrbufStartsWithS(&result->name, "Loc-OS"))
{
ffStrbufSetS(&result->id, "locos");
ffStrbufSetS(&result->idLike, "debian");
return true;
}
else if (ffPathExists("/usr/bin/pveversion", FF_PATHTYPE_FILE))
{
ffStrbufSetS(&result->id, "pve");
+1 -1
View File
@@ -2395,7 +2395,7 @@ static const FFlogo L[] = {
},
// Loc-OS
{
.names = {"loc-os", "Loc-OS Linux"},
.names = {"locos", "loc-os", "Loc-OS Linux"},
.lines = FASTFETCH_DATATEXT_LOGO_LOCOS,
.colors = {
FF_COLOR_FG_BLACK,