From f6114e96c2ddf0b08cbfce504facff183a7614d0 Mon Sep 17 00:00:00 2001 From: Dylan Date: Fri, 29 Jan 2016 18:02:25 +1100 Subject: [PATCH] Fixed ascii art and package detection on Linux Mint --- fetch | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/fetch b/fetch index f8137064..532451d6 100755 --- a/fetch +++ b/fetch @@ -545,7 +545,7 @@ getpackages () { packages="$(xbps-query -l | wc -l)" ;; - "Ubuntu"* | "Mint"* | "CrunchBang"* | "Debian"* | "Kali Linux"* | "Deepin Linux"* | "elementary"*) + "Ubuntu"* | *"Mint"* | "CrunchBang"* | "Debian"* | "Kali Linux"* | "Deepin Linux"* | "elementary"*) packages="$(dpkg --get-selections | grep -cv deinstall$)" ;; @@ -1332,9 +1332,11 @@ getascii () { c6=$(color 4) ;; - "Mint"*) + *"Mint"*) c1=$(color 7) c2=$(color 2) + + ascii_distro="mint" ;; "NetBSD"*)