Commit 5aacff5e authored by Dylan's avatar Dylan

Remove pointless check

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