mirror of
https://github.com/opengapps/opengapps.git
synced 2025-11-08 07:54:31 +00:00
Simplify page alignement check to just check if there is a -p parameter
This commit is contained in:
@@ -33,7 +33,7 @@ checktools() {
|
||||
else
|
||||
case $command in
|
||||
zipalign)
|
||||
if ! zipalign 2>&1 | grep -q -e "page align stored shared object files" -e "page alignment for stored shared object files" -e "page-align uncompressed .so files"; then
|
||||
if ! zipalign 2>&1 | grep -q -e "-p: "; then # check for page alignment support
|
||||
echo 'zipalign is outdated. Install a more recent version from the Android SDK and findable in sh $PATH.' >&2
|
||||
missing="$missing $command"
|
||||
fi;;
|
||||
|
||||
Reference in New Issue
Block a user