neofetch: Prefer lsb-release
This commit is contained in:
parent
e960c51686
commit
e09146142f
1 changed files with 2 additions and 2 deletions
4
neofetch
4
neofetch
|
@ -979,8 +979,8 @@ get_distro() {
|
|||
-f /etc/lsb-release ]]; then
|
||||
|
||||
# Source the os-release file
|
||||
for file in /usr/lib/os-release /etc/os-release \
|
||||
/etc/openwrt_release /etc/lsb-release; do
|
||||
for file in /etc/lsb-release /usr/lib/os-release \
|
||||
/etc/os-release /etc/openwrt_release; do
|
||||
source "$file" && break
|
||||
done
|
||||
|
||||
|
|
Loading…
Reference in a new issue