aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md23
-rwxr-xr-xinstall.sh64
-rw-r--r--screenshot.pngbin81971 -> 0 bytes
3 files changed, 5 insertions, 82 deletions
diff --git a/README.md b/README.md
index c59735b..96323e4 100644
--- a/README.md
+++ b/README.md
@@ -7,29 +7,16 @@ look no further than nofetch.
simply run `nofetch`, and watch all of your r/unixporn problems go away.
-**new:** append`-o` to get just the os name value! useful for piping the ACTUAL distribution or OS name into other scripts/scriptlets
-
-![](screenshot.png)
-
## install instructions
-- clone the repo to your system
-
- `git clone https://github.com/jnats/nofetch`
-
-- make sure install.sh is set as executable
+its a posix shell script, you can figure it out.
- `chmod +x install.sh`
-
-- run install.sh
-
- `./install.sh`
## dependencies
-realistically any system that has the following
-
-- preferrably either doas or sudo (otherwise, run `install.sh` as root)
-- bash, or any other POSIX compliant shell
+any sane system with:
+- posix shell
- grep
- head
- sed
- cat
+
+if your system doesn't have those tools reconsider your choice of os please
diff --git a/install.sh b/install.sh
deleted file mode 100755
index c3d0e04..0000000
--- a/install.sh
+++ /dev/null
@@ -1,64 +0,0 @@
-#!/usr/bin/env bash
-
-file=nofetch
-url=https://raw.githubusercontent.com/jnats/nofetch/main/nofetch
-
-if [ ! -f $file ]
-then
- curl -LO $url
-fi
-
-echo ""
-echo "1 - install systemwide"
-echo "2 - install for me"
-echo ""
-read uc
-
-if [ "$uc" == "1" ]
-then
- if [ $EUID -eq 0 ]
- then
- echo ""
- echo "[/] uid 0"
- echo ""
- rm $(which $file > /dev/null 2>&1) > /dev/null 2>&1
- chmod +x $file
- mkdir -p /usr/local/bin
- cp $file /usr/local/bin
- elif command -v doas &> /dev/null
- then
- echo ""
- echo "[/] doas"
- echo ""
- doas rm $(which $file > /dev/null 2>&1) > /dev/null 2>&1
- chmod +x $file
- doas mkdir -p /usr/local/bin
- doas cp $file /usr/local/bin
- elif command -v sudo &> /dev/null
- then
- echo ""
- echo "[/] sudo"
- echo ""
- sudo rm $(which $file > /dev/null 2>&1) > /dev/null 2>&1
- chmod +x $file
- sudo mkdir -p /usr/local/bin
- sudo cp $file /usr/local/bin
- else
- echo "\n[X] neither doas nor sudo found, and command isn't running as root, have you checked README.md ?\n"
- fi
-elif [ "$uc" == "2" ]
-then
- echo ""
- echo "> what is your preferred local binary directory? (make sure it exists and is in your \$PATH)"
- echo ""
-
- read localbin_up
- localbin=$(echo $localbin_up | sed "s|~|$HOME|g")
- echo ""
- chmod +x $file
- cp $file $localbin/
-else
- echo ""
- echo "> invalid option, check syntax and try again"
- echo ""
-fi
diff --git a/screenshot.png b/screenshot.png
deleted file mode 100644
index 4f47f72..0000000
--- a/screenshot.png
+++ /dev/null
Binary files differ