From cc641708aa34cb074e5639e0484e8f19af075927 Mon Sep 17 00:00:00 2001 From: Andrew Titmuss Date: Thu, 17 Nov 2016 14:49:55 +1100 Subject: [PATCH 1/5] fix conn time-out with dig --- neofetch | 1 + 1 file changed, 1 insertion(+) diff --git a/neofetch b/neofetch index bc89200f..5940409e 100755 --- a/neofetch +++ b/neofetch @@ -1700,6 +1700,7 @@ get_local_ip() { get_public_ip() { if type -p dig >/dev/null; then public_ip="$(dig +time=1 +tries=1 +short myip.opendns.com @resolver1.opendns.com)" + [[ "$public_ip" =~ ^\; ]] && unset public_ip fi if [[ -z "$public_ip" ]] && type -p curl >/dev/null; then From 5d7e74e0b6a8810f546f8cb9e4eabc8981d942c1 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Thu, 17 Nov 2016 15:07:10 +1100 Subject: [PATCH 2/5] Update CHANGELOG.md --- CHANGELOG.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index c3ce3113..83b607e7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ - **[@konimex](https://github.com/konimex)** - **[@TonCherAmi](https://github.com/TonCherAmi)** - **[@JorgeGonzalez](https://github.com/JorgeGonzalez)** +- **[@iandrewt](https://github.com/iandrewt)** ## General @@ -97,3 +98,7 @@ - Added support for GNOME Music. **[@konimex](https://github.com/konimex)** - Added support for Lollypop. **[@konimex](https://github.com/konimex)** + +**Public IP**
+ +- [dig] Fixed connection timed out with public_ip. **[@iandrewt](https://github.com/iandrewt)** From d0627ea8498e028e77d73f18319919e600cbdb61 Mon Sep 17 00:00:00 2001 From: Nobuhiro Iwamatsu Date: Fri, 18 Nov 2016 22:34:13 +0900 Subject: [PATCH 3/5] Remove execution permission flag from logo files Execution permission is not required for files under the /usr/share/neofetch/ascii/distro directory. Signed-off-by: Nobuhiro Iwamatsu --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 324332fc..71def674 100644 --- a/Makefile +++ b/Makefile @@ -14,7 +14,7 @@ install: $(INSTALL_PROG) neofetch $(DESTDIR)$(PREFIX)/bin/neofetch $(INSTALL_FILE) neofetch.1 $(DESTDIR)$(PREFIX)/share/man/man1/neofetch.1 $(INSTALL_PROG) config/config $(DESTDIR)$(PREFIX)/share/neofetch/config - $(INSTALL_PROG) ascii/distro/* $(DESTDIR)$(PREFIX)/share/neofetch/ascii/distro + $(INSTALL_FILE) ascii/distro/* $(DESTDIR)$(PREFIX)/share/neofetch/ascii/distro uninstall: $(RM) $(DESTDIR)$(PREFIX)/bin/neofetch From 87fb0fd5eaa3e8e29c3a9880000a3033a12845e8 Mon Sep 17 00:00:00 2001 From: Muhammad Herdiansyah Date: Fri, 18 Nov 2016 21:41:11 +0700 Subject: [PATCH 4/5] Packages: Added package detection for Lunar Linux and TinyCore --- neofetch | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/neofetch b/neofetch index 5940409e..137e3c1e 100755 --- a/neofetch +++ b/neofetch @@ -412,6 +412,12 @@ get_packages() { packages="$((packages+=$(ls -1 /var/db/pkg | wc -l)))" (("$packages" == "0")) && packages="$((packages+=$(pkg list | wc -l)))" fi + + type -p lvu >/dev/null && \ + packages="$((packages+=$(lvu installed | wc -l)))" + + type -p tce-status >/dev/null && \ + packages="$((packages+=$(tce-status -i | wc -l)))" ;; "Mac OS X") From fd08995f67a3c3668af36f25bbffefdea0c665a0 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Sat, 19 Nov 2016 09:29:27 +1100 Subject: [PATCH 5/5] Update CHANGELOG.md --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 83b607e7..9c4f68ec 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ - **[@TonCherAmi](https://github.com/TonCherAmi)** - **[@JorgeGonzalez](https://github.com/JorgeGonzalez)** - **[@iandrewt](https://github.com/iandrewt)** +- **[@iwamatsu](https://github.com/iwamatsu)** ## General @@ -45,6 +46,7 @@ - Rename `colors()` to `get_distro_colors()`. - Rename `setcolors()` to `set_colors()`. - Remove all duplicates from `get_distro_colors()`. +- Remove execution permission flag from ascii art files. **[@iwamatsu](https://github.com/iwamatsu)** - Update Netrunner ascii art. @@ -73,6 +75,8 @@ **Packages**
- [Solus] If `pisi` is unavailable, use `eopkg`. +- Added package detection for Lunar Linux. **[@konimex](https://github.com/konimex)** +- Added package detection for TinyCore. **[@konimex](https://github.com/konimex)** **GPU**