From f6415478f2d1048579b1425f1ba31855867a9f41 Mon Sep 17 00:00:00 2001 From: LoveSy Date: Mon, 8 Mar 2021 23:19:40 +0800 Subject: [PATCH] [shell] No more cache --- core/template_override/customize.sh | 4 ---- core/template_override/post-fs-data.sh | 2 -- 2 files changed, 6 deletions(-) diff --git a/core/template_override/customize.sh b/core/template_override/customize.sh index ea9bf8c6895..06a75daa595 100644 --- a/core/template_override/customize.sh +++ b/core/template_override/customize.sh @@ -217,10 +217,6 @@ if [[ ! -e /data/adb/lspd/config/verbose_log ]]; then fi -mkdir -p /data/misc/$MISC_PATH/cache -rm /data/misc/$MISC_PATH/cache/* -set_perm /data/misc/$MISC_PATH/cache 0 0 0777 "u:object_r:magisk_file:s0" || abortC "! ${LANG_CUST_ERR_PERM}" - mv "${MODPATH}/system/lib/libriru_lspd.so" "${MODPATH}/system/lib/${LIB_RIRU_EDXP}" if [[ "${IS64BIT}" == true ]]; then mv "${MODPATH}/system/lib64/libriru_lspd.so" "${MODPATH}/system/lib64/${LIB_RIRU_EDXP}" diff --git a/core/template_override/post-fs-data.sh b/core/template_override/post-fs-data.sh index 796ea31bb2f..35711e17446 100644 --- a/core/template_override/post-fs-data.sh +++ b/core/template_override/post-fs-data.sh @@ -152,10 +152,8 @@ mkdir -p ${LOG_PATH} chcon -R u:object_r:magisk_file:s0 ${LOG_PATH} if [[ ! -z "${MISC_PATH}" ]]; then - mkdir -p "${BASE_PATH}/cache" chcon -R u:object_r:magisk_file:s0 "${BASE_PATH}" chmod 771 "${BASE_PATH}" - chmod 777 "${BASE_PATH}/cache" print_log_head "${LOG_PATH}/modules.log" # start_verbose_log_catcher start_log_catcher all "LSPosed:V XSharedPreferences:V LSPosed-Bridge:V LSPosedManager:V LSPosedService:V *:F" true ${LOG_VERBOSE}