Jelajahi Sumber

[PR] dylanaraps/neofetch#2167 from walking-octopus - Add Ubuntu Touch support

Upstream PR: https://github.com/dylanaraps/neofetch/pull/2167
Thanks to @walking-octopus

Co-authored-by: walking-octopus <46994949+walking-octopus@users.noreply.github.com>
Azalea (on HyDEV-Daisy) 3 tahun lalu
induk
melakukan
52cd1af890
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      neofetch

+ 1 - 1
neofetch

@@ -1256,7 +1256,7 @@ get_distro() {
 get_model() {
     case $os in
         Linux)
-            if [[ -d /system/app/ && -d /system/priv-app ]]; then
+            if [[ -d /android/system/ || -d /system/app/ ]]; then
                 model="$(getprop ro.product.brand) $(getprop ro.product.model)"
 
             elif [[ -f /sys/devices/virtual/dmi/id/board_vendor ||