Commit a687096b authored by Dylan Araps's avatar Dylan Araps Committed by GitHub

Merge pull request #411 from konimex/master

Various updates for Android/Termux
parents 651d38c9 5c1d5fec
...@@ -349,6 +349,10 @@ Download the files from [SlackBuilds](https://slackbuilds.org/repository/14.2/de ...@@ -349,6 +349,10 @@ Download the files from [SlackBuilds](https://slackbuilds.org/repository/14.2/de
2. Install `neofetch` through cydia. 2. Install `neofetch` through cydia.
### Android (Termux)
You can install it using `apt install neofetch`
### Manual ### Manual
1. Download the latest source at https://github.com/dylanaraps/neofetch 1. Download the latest source at https://github.com/dylanaraps/neofetch
......
...@@ -1927,6 +1927,10 @@ getascii() { ...@@ -1927,6 +1927,10 @@ getascii() {
elif [ -f "/usr/local/share/neofetch/ascii/distro/${ascii/ *}" ]; then elif [ -f "/usr/local/share/neofetch/ascii/distro/${ascii/ *}" ]; then
ascii="/usr/local/share/neofetch/ascii/distro/${ascii/ *}" ascii="/usr/local/share/neofetch/ascii/distro/${ascii/ *}"
elif [ -f "/data/data/com.termux/files/usr/share/neofetch/ascii/distro/${ascii/ *}" ]; then
ascii="/data/data/com.termux/files/usr/share/neofetch/ascii/distro/${ascii/ *}"
else else
getscriptdir 2>/dev/null getscriptdir 2>/dev/null
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment