Browse Source

[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>
Azalea (on HyDEV-Daisy) 3 năm trước cách đây
mục cha
commit
ad3dca54c5
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      neofetch

+ 2 - 2
neofetch

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