From ebf5f6345a869ef050ff63bd5f251f57e6bef51f Mon Sep 17 00:00:00 2001 From: Herdiansyah Date: Wed, 2 Nov 2016 08:21:15 +0700 Subject: [PATCH 1/5] Android (Termux): Fixed ASCII not appearing --- neofetch | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/neofetch b/neofetch index 5c1a8277..a8f5bcec 100755 --- a/neofetch +++ b/neofetch @@ -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 From 5c1d5fec762ea95aca529fe5c2092c3253cf7a63 Mon Sep 17 00:00:00 2001 From: Herdiansyah Date: Wed, 2 Nov 2016 08:23:57 +0700 Subject: [PATCH 2/5] README: Added installation instructions for Android/Termux --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 92e85cab..a270ed10 100644 --- a/README.md +++ b/README.md @@ -350,6 +350,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 From a6949ffa9174df3091f78d9ff30053828e95be22 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Wed, 2 Nov 2016 13:30:10 +1100 Subject: [PATCH 3/5] Update Changelog.md --- Changelog.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Changelog.md b/Changelog.md index b9b5dfa7..6523e00b 100644 --- a/Changelog.md +++ b/Changelog.md @@ -1,6 +1,11 @@ ## Contributors +## Packages + +- Neofetch is now in Termux`s repos. + + ## Images - Fix division by 0 error. From 8dc20896c6decb9694f04fc18e3207101b207727 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Wed, 2 Nov 2016 13:31:22 +1100 Subject: [PATCH 4/5] Update README.md --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index db53e955..ded73dba 100644 --- a/README.md +++ b/README.md @@ -205,6 +205,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. + @@ -353,6 +355,7 @@ Download the files from [SlackBuilds](https://slackbuilds.org/repository/14.2/de You can install it using `apt install neofetch` + ### Manual 1. Download the latest source at https://github.com/dylanaraps/neofetch From 35b532dff87314fa2749b84137fc74f078ddea0b Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Wed, 2 Nov 2016 13:32:18 +1100 Subject: [PATCH 5/5] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index ded73dba..dd72521b 100644 --- a/README.md +++ b/README.md @@ -44,6 +44,7 @@ Have a look at the wiki, I've updated/added some new pages!
- [Slackware](#slackware) - [macOS](#macos) - [iOS](#ios-1) + - [Android (Termux)](#android-termux) - [Manual](#manual) - [Post Install](#post-install) - [Usage](#usage) @@ -234,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)