Remove pointless check

This commit is contained in:
Dylan 2016-02-28 17:02:05 +11:00
parent b540f16d0b
commit 5aacff5e57
1 changed files with 1 additions and 5 deletions

View File

@ -1618,11 +1618,7 @@ getwallpaper () {
# Ascii {{{
getascii () {
# If the ascii file doesn't exist
# fallback to showing distro ascii.
[ ! -f "$ascii" ] && ascii="distro"
if [ "$ascii" == "distro" ]; then
if [ ! -f "$ascii" ] || [ "$ascii" == "distro" ]; then
# Lowercase the distro name
if [ "$version" -le 3 ]; then
ascii=$(tr '[:upper:]' '[:lower:]' <<< "$ascii_distro")