diff options
| author | Dylan Araps <dylan.araps@gmail.com> | 2019-09-24 21:17:25 +0300 |
|---|---|---|
| committer | Dylan Araps <dylan.araps@gmail.com> | 2019-09-24 21:17:25 +0300 |
| commit | 3eeb0db4be4be7a423df2cc98bdb0fb214ba20cb (patch) | |
| tree | eacf60ca0e57dcacdf7d7b0fc479f6b6a155cd0c | |
| parent | bcf4cf44dac82bfbb71018427f33b84c8c67c85f (diff) | |
| download | pfetch-3eeb0db4be4be7a423df2cc98bdb0fb214ba20cb.tar.gz | |
pfetch: Added crux support
| -rwxr-xr-x | pfetch | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -109,10 +109,16 @@ get_os() { case $os in Linux*) + # TODO: Some distributions don't support '/etc/os-release'. + # Bedrock support is something I'd like to add for example. + # Disable warning about shellcheck not being able # to read '/etc/os-release'. This is fine. # shellcheck source=/dev/null . /etc/os-release && distro=$PRETTY_NAME + + # CRUX does its own thing entirely, go CRUX! + command -v crux >/dev/null && distro=$(crux) ;; Darwin*) |
