diff --git a/README.md b/README.md index 34ae0d9..27642a5 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,9 @@ # abbiefetch abbiefetch is a POSIX compliant fetch script intended to be as portable as possible to run on machines of any age. abbiefetch is not dependent on any specific shell and should run fine on any system with a POSIX compliant shell and Unix utilities. +## Building +To build abbiefetch, clone this repository and run `./build.sh`. If you receive errors about `tee` having an invalid option then run `./build_alternate.sh`. + ## Compatibility abbiefetch will attempt to gather as much information as possible on systems that don't have full compatibility and will provide you with a system type (and sometimes a subtype) to let you know what abbiefetch thinks your computer is running. @@ -15,6 +18,7 @@ abbiefetch will attempt to gather as much information as possible on systems tha | `openbsd` | OpenBSD | | 1.0.0 | Full | | | `netbsd` | NetBSD | | 1.1.0 | Full | | | `freebsd` | FreeBSD | | 1.1.0 | Full | | +| `freebsd/dfly` | FreeBSD | DragonFly BSD | `master` | Full | DragonFly is a fork of FreeBSD which is similar enough that no modifications need be made. | | `haiku` | Haiku | | 1.1.0 | Partial | | | `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 | diff --git a/build_alternate.sh b/build_alternate.sh new file mode 100755 index 0000000..f8cf192 --- /dev/null +++ b/build_alternate.sh @@ -0,0 +1,10 @@ +#!/bin/sh +cat probing.1 | tee abbiefetch +cat system_detection.2 | tee -a abbiefetch +cat hostname_username.3 | tee -a abbiefetch +cat processor_detection.4 | tee -a abbiefetch +cat kernel_info.5 | tee -a abbiefetch +cat gpu_detection.6 | tee -a abbiefetch +cat distro_machine_detection.7 | tee -a abbiefetch +cat display_results.8 | tee -a abbiefetch +chmod +x abbiefetch diff --git a/system_detection.2 b/system_detection.2 index afe0853..86ac2aa 100644 --- a/system_detection.2 +++ b/system_detection.2 @@ -24,6 +24,10 @@ fi if [ "$(uname -s)" = "FreeBSD" ] && [ "$system_type" = "unknown" ]; then system_type="freebsd" fi +if [ "$(uname -s)" = "DragonFly" ] && [ "$system_type" = "unknown" ]; then + system_type="freebsd" + subtype="dfly" +fi if [ "$(uname -s)" = "NetBSD" ] && [ "$system_type" = "unknown" ]; then system_type="netbsd" fi