Add preliminary support for illumos (illumos).

This commit is contained in:
abbie 2024-11-13 20:09:50 +00:00
parent 1c484427e3
commit 9d8acac656
Signed by: threeoh6000
GPG key ID: 801FE4AD456E922C
3 changed files with 7 additions and 0 deletions

View file

@ -22,3 +22,4 @@ abbiefetch will attempt to gather as much information as possible on systems tha
| `haiku` | Haiku | | 1.1.0 | Partial | | | `haiku` | Haiku | | 1.1.0 | Partial | |
| `windows` | Microsoft Windows | | 1.2.0 | Full | Relies on wmic.exe and systeminfo.exe | | `windows` | Microsoft Windows | | 1.2.0 | Full | Relies on wmic.exe and systeminfo.exe |
| `windows/cygwin` | Microsoft Windows | Cygwin | 1.2.0 | Partial | Relies on wmic.exe and systeminfo.exe, issues with machine detection | | `windows/cygwin` | Microsoft Windows | Cygwin | 1.2.0 | Partial | Relies on wmic.exe and systeminfo.exe, issues with machine detection |
| `illumos` | illumos | | `master` | Preliminary | |

View file

@ -4,3 +4,6 @@ fi
if [ -n "$(uname -s)" ] && [ -z "$kernel" ]; then if [ -n "$(uname -s)" ] && [ -z "$kernel" ]; then
kernel="$(uname -s)" kernel="$(uname -s)"
fi fi
if [ "$system_type" = "illumos" ]; then
kernel="$(uname -v)"
fi

View file

@ -41,3 +41,6 @@ if [ "$?" -eq 0 ] && [ "$system_type" = "unknown" ]; then
subtype="cygwin" subtype="cygwin"
fi fi
fi fi
if [ "$(uname -o)" = "illumos" ] && [ "$system_type" = "unknown" ]; then
system_type="illumos"
fi