npem: shellcheck compliance

pull/53/head
FriendlyNeighborhoodShane 1 year ago
parent c45906be40
commit dd7cc214c1

@ -115,7 +115,7 @@ if [ "$(getprop ro.build.version.sdk)" -ge 29 ]; then
user_install ${microG}
# Phonesky needs a similar treatment on some ROMs to avoid missing internet
user_install ${PlayStore}
if [ "$(settings list global | grep uids_allowed_on_restricted_networks)" ]; then
if settings list global | grep -q "^uids_allowed_on_restricted_networks="; then
# both need this on LOS-based ROMs in some situations like it restricting their internet for no reason
allow_networking ${microG} ${gms_uid}
allow_networking ${PlayStore} ${play_uid}

Loading…
Cancel
Save