Merge pull request #411 from konimex/master

Various updates for Android/Termux
This commit is contained in:
Dylan Araps 2016-11-02 13:29:29 +11:00 committed by GitHub
commit a687096bc2
2 changed files with 8 additions and 0 deletions

View file

@ -349,6 +349,10 @@ Download the files from [SlackBuilds](https://slackbuilds.org/repository/14.2/de
2. Install `neofetch` through cydia.
### Android (Termux)
You can install it using `apt install neofetch`
### Manual
1. Download the latest source at https://github.com/dylanaraps/neofetch

View file

@ -1927,6 +1927,10 @@ getascii() {
elif [ -f "/usr/local/share/neofetch/ascii/distro/${ascii/ *}" ]; then
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
getscriptdir 2>/dev/null