neofetch: Prefer lsb-release

This commit is contained in:
Dylan Araps 2020-03-08 17:42:00 +02:00
parent e960c51686
commit e09146142f
No known key found for this signature in database
GPG key ID: 46D62DD9F1DE636E

View file

@ -979,8 +979,8 @@ get_distro() {
-f /etc/lsb-release ]]; then -f /etc/lsb-release ]]; then
# Source the os-release file # Source the os-release file
for file in /usr/lib/os-release /etc/os-release \ for file in /etc/lsb-release /usr/lib/os-release \
/etc/openwrt_release /etc/lsb-release; do /etc/os-release /etc/openwrt_release; do
source "$file" && break source "$file" && break
done done