General: Combine test
This commit is contained in:
parent
3c5ac7d9ee
commit
06db0b517b
1 changed files with 1 additions and 1 deletions
2
neofetch
2
neofetch
|
@ -1920,7 +1920,7 @@ get_image_backend() {
|
||||||
get_ascii() {
|
get_ascii() {
|
||||||
if [[ ! -f "$ascii" || "$ascii" == "distro" ]]; then
|
if [[ ! -f "$ascii" || "$ascii" == "distro" ]]; then
|
||||||
# Error message
|
# Error message
|
||||||
[[ "$ascii" != "distro" ]] && [[ ! -f "$ascii" ]] && \
|
[[ "$ascii" != "distro" && ! -f "$ascii" ]] && \
|
||||||
err "Ascii: Ascii file not found, using distro ascii."
|
err "Ascii: Ascii file not found, using distro ascii."
|
||||||
|
|
||||||
# Lowercase the distro name
|
# Lowercase the distro name
|
||||||
|
|
Loading…
Reference in a new issue