From e347d9c8cef138782a4702d05c063c9eb474d843 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Sat, 14 Jan 2017 22:39:58 +1100 Subject: [PATCH] Ascii: Fix old option --- neofetch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/neofetch b/neofetch index fdf9532c..1a959690 100755 --- a/neofetch +++ b/neofetch @@ -2001,9 +2001,9 @@ image_backend() { } get_ascii() { - if [[ ! -f "$image_source" || "$image_source" =~ (auto|distro) ]]; then + if [[ ! -f "$image_source" || "$image_source" =~ (auto|ascii) ]]; then # Fallback to distro ascii mode if custom ascii isn't found. - [[ ! "$image_source" =~ (auto|distro) ]] && \ + [[ ! "$image_source" =~ (auto|ascii) ]] && \ err "Ascii: Ascii file not found, using distro ascii." if [[ -d "/usr/share/neofetch/ascii/distro" ]]; then