mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-12-14 12:37:16 +00:00
Ascii: Fix old option
This commit is contained in:
4
neofetch
4
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
|
||||
|
||||
Reference in New Issue
Block a user