This commit is contained in:
Dylan Araps 2016-11-02 14:41:57 +11:00
commit 2705f23248
3 changed files with 18 additions and 0 deletions

View File

@ -1,6 +1,11 @@
## Contributors
## Packages
- Neofetch is now in Termux`s repos.
## Images
- Fix division by 0 error.

View File

@ -44,6 +44,7 @@ Have a look at the wiki, I've updated/added some new pages!<br \>
- [Slackware](#slackware)
- [macOS](#macos)
- [iOS](#ios-1)
- [Android (Termux)](#android-termux)
- [Manual](#manual)
- [Post Install](#post-install)
- [Usage](#usage)
@ -205,6 +206,8 @@ Note: The cydia package installs these dependencies for you.
Note: I recommend installing `termux` from the Play Store or F-Droid. Termux provides you with a fully working Linux environment, doesn't require root acess and includes all dependencies.
Note2: Neofetch is in Termux's official repos.
<!-- }}} -->
@ -232,6 +235,7 @@ https://github.com/dylanaraps/neofetch/wiki/Following-HEAD
- [Slackware](#slackware)
- [macOS](#mac-os-x)
- [iOS](##ios-1)
- [Android (Termux)](#android-termux)
- [Manual](#manual)
@ -349,6 +353,11 @@ 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

@ -1926,6 +1926,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