Merge pull request #411 from konimex/master
Various updates for Android/Termux
This commit is contained in:
commit
a687096bc2
2 changed files with 8 additions and 0 deletions
|
@ -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
|
||||||
|
|
4
neofetch
4
neofetch
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue