KittyKatt / screenFetch

Fetches system/theme information in terminal for Linux desktop screenshots.
GNU General Public License v3.0
3.85k stars 454 forks source link

Fixed SailfishOS and openSUSE Tumbleweed detection #621

Closed Michal-Szczepaniak closed 5 years ago

Michal-Szczepaniak commented 5 years ago

Quick explanation:

if [[ -f /system/build.prop && "${distro}" != "SailfishOS" ]]; then

distro is empty as you are detecting distro below (whoever did that is genius)

Also somebody fixed leap when lsbrelease is not installed but forgot about tumbleweed ¯_(ツ)