Update customize.sh

This commit is contained in:
j-hc 2024-11-13 03:09:35 +03:00 committed by GitHub
parent a22b5b0642
commit ada9264cfb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -135,8 +135,8 @@ install() {
done
settings put global verifier_verify_adb_installs "$VERIF_ADB"
}
if [ $INS = true ]; then
if ! install; then abort; fi
if [ $INS = true ] && ! install; then abort; fi
if [ $INS = true ] || [ -z "$(ls -A1 "$BASEPATHLIB")" ]; then
ui_print "* Extracting native libs"
BASEPATHLIB=${BASEPATH}/lib/${ARCH}
if [ ! -d "$BASEPATHLIB" ]; then mkdir -p "$BASEPATHLIB"; else rm -f "$BASEPATHLIB"/* >/dev/null 2>&1 || :; fi