diff options
author | 諏訪子 <suwako@076.moe> | 2024-06-22 03:13:21 +0900 |
---|---|---|
committer | 諏訪子 <suwako@076.moe> | 2024-06-22 03:13:21 +0900 |
commit | f0274e6ba6f43d4909f3b0240ba0fad50418debe (patch) | |
tree | 9e43ae677319c550cd86a6ceaa0454744d9085fc /src/distro.c | |
parent | 0f22d7482b6cc177cfee08e7ab5258b064cc2cde (diff) |
SunOS: ロゴとディストロ情報
Diffstat (limited to 'src/distro.c')
-rw-r--r-- | src/distro.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/distro.c b/src/distro.c index 784b76e..fdd8718 100644 --- a/src/distro.c +++ b/src/distro.c @@ -1,4 +1,4 @@ -#if defined(__linux__) +#if defined(__linux__) || defined(__sun) #include "distro.h" #include <stdio.h> @@ -85,6 +85,7 @@ void get_distro() { else if (strstr(buf, "Arch Linux") != NULL) distroname = "arch"; else if (strstr(buf, "Artix Linux") != NULL) distroname = "artix"; else if (strstr(buf, "CRUX") != NULL) distroname = "crux"; + else if (strstr(buf, "OmniOS") != NULL) distroname = "omnios"; else distroname = "linux"; } #endif |