Add detection for Android

Android is a subtype of Linux (according to `uname -s`), but let's be honest, an Android doesn't behave like a typical Linux distribution.
pull/453/head
Silvio Knizek 1 year ago committed by GitHub
parent e4bb8a79a4
commit e87d0de173
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -684,7 +684,7 @@ function set_local_alt_values() {
local_distro_family="$(query_distro_family)"
}
u
function alt_linking() {
local alt_scores=()
@ -1772,7 +1772,9 @@ function set_operating_system() {
OPERATING_SYSTEM=$(uname -o)
;;
*)
;;
if [[ "$(uname -o)" == "Android" ]]; then
OPERATING_SYSTEM=Android
fi
esac
}

Loading…
Cancel
Save