mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-12-24 04:22:32 +00:00
General: Combine test
This commit is contained in:
2
neofetch
2
neofetch
@@ -1920,7 +1920,7 @@ get_image_backend() {
|
||||
get_ascii() {
|
||||
if [[ ! -f "$ascii" || "$ascii" == "distro" ]]; then
|
||||
# Error message
|
||||
[[ "$ascii" != "distro" ]] && [[ ! -f "$ascii" ]] && \
|
||||
[[ "$ascii" != "distro" && ! -f "$ascii" ]] && \
|
||||
err "Ascii: Ascii file not found, using distro ascii."
|
||||
|
||||
# Lowercase the distro name
|
||||
|
||||
Reference in New Issue
Block a user