mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-12-23 20:12:31 +00:00
Remove pointless check
This commit is contained in:
6
neofetch
6
neofetch
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user