Merge pull request #411 from konimex/master
Various updates for Android/Termux
This commit is contained in:
commit
a687096bc2
|
@ -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
|
||||
|
|
4
neofetch
4
neofetch
|
@ -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
|
||||
|
||||
|
|
Reference in New Issue