Skip to content

Commit 40b29c2

Browse files
committed
relax android check
1 parent e01478e commit 40b29c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pfetch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ get_os() {
273273
# Android detection works by checking for the existence of
274274
# the following two directories. I don't think there's a simpler
275275
# method than this.
276-
elif [ -d /system/app ] && [ -d /system/priv-app ] && has getprop; then
276+
elif [ -d /system/app ] && has getprop; then
277277
distro="Android $(getprop ro.build.version.release)"
278278

279279
elif [ -f /etc/os-release ]; then

0 commit comments

Comments
 (0)