Commit 06db0b51 authored by Dylan Araps's avatar Dylan Araps

General: Combine test

parent 3c5ac7d9
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment