Ascii: Fix old option

This commit is contained in:
Dylan Araps 2017-01-14 22:39:58 +11:00
parent c3b82ecc31
commit e347d9c8ce
1 changed files with 2 additions and 2 deletions

View File

@ -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