diff --git a/zip-content/inc/common-functions.sh b/zip-content/inc/common-functions.sh index 5a6e881b..f344a630 100644 --- a/zip-content/inc/common-functions.sh +++ b/zip-content/inc/common-functions.sh @@ -600,12 +600,10 @@ initialize() cp -pf "${SYS_PATH:?}/build.prop" "${TMP_PATH:?}/build.prop" # Cache the file for faster access BUILD_MANUFACTURER="$(sys_getprop 'ro.product.manufacturer')" || BUILD_DEVICE="$(sys_getprop 'ro.product.brand')" - readonly BUILD_MANUFACTURER - export BUILD_MANUFACTURER - BUILD_DEVICE="$(sys_getprop 'ro.product.device')" || BUILD_DEVICE="$(sys_getprop 'ro.build.product')" - readonly BUILD_DEVICE - export BUILD_DEVICE + BUILD_PRODUCT="$(sys_getprop 'ro.product.name')" + readonly BUILD_MANUFACTURER BUILD_DEVICE BUILD_PRODUCT + export UILD_MANUFACTURER BUILD_DEVICE BUILD_PRODUCT if test "${BUILD_MANUFACTURER?}" = 'OnePlus' && test "${BUILD_DEVICE?}" = 'OnePlus6'; then export KEYCHECK_ENABLED='false' # It doesn't work properly on this device