Skip to content

Commit

Permalink
Minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ale5000-git committed Sep 4, 2023
1 parent 17a7618 commit 40751eb
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions zip-content/inc/common-functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 40751eb

Please sign in to comment.