neofetch: Fix #1364

This commit is contained in:
Dylan Araps 2019-12-10 10:31:28 +00:00
parent 787b2352b5
commit 0fc6e33060
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E
1 changed files with 4 additions and 4 deletions

View File

@ -1599,7 +1599,7 @@ get_de() {
*MUFFIN*) de=Cinnamon ;;
esac
((KDE_SESSION_VERSION >= 4)) && de=${de/KDE/Plasma}
((${KDE_SESSION_VERSION:-0} >= 4)) && de=${de/KDE/Plasma}
if [[ $de_version == on && $de ]]; then
case $de in