[PR] dylanaraps/neofetch#2067 from omasanori - neofetch: Priorize /etc/os-release
Upstream PR: https://github.com/dylanaraps/neofetch/pull/2067 Thanks to @omasanori Co-authored-by: Masanori Ogino <masanori.ogino@gmail.com>
This commit is contained in:
commit
ad3dca54c5
1 changed files with 2 additions and 2 deletions
4
neofetch
4
neofetch
|
|
@ -1035,8 +1035,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 /etc/lsb-release /usr/lib/os-release \
|
for file in /etc/lsb-release /etc/os-release \
|
||||||
/etc/os-release /etc/openwrt_release; do
|
/usr/lib/os-release /etc/openwrt_release; do
|
||||||
source "$file" && break
|
source "$file" && break
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue