This commit is contained in:
Didgeridoohan 2019-11-02 23:46:35 +01:00 committed by GitHub
parent 7e655684bc
commit fbfdac6044
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 3 deletions

View File

@ -17,9 +17,6 @@ MODULESPATH=$ADBPATH/modules
MHPCPATH=$ADBPATH/mhpc
if [ "$INSTFN" ]; then
# Installation (config.sh)
if [ ! -d "$MHPCPATH" ]; then
mkdir -pv $MHPCPATH >> $LOGFILE 2>&1
fi
MODVERSION=$(echo $(get_file_value $TMPDIR/module.prop "version=") | sed 's|-.*||')
POSTPATH=$ADBPATH/post-fs-data.d
SERVICEPATH=$ADBPATH/service.d

View File

@ -44,6 +44,10 @@ print_modname() {
# Load functions and variables
INSTFN=true
. $TMPDIR/util_functions.sh
# Create install directory
mkdir -pv $MHPCPATH
# Start module installation log
log_start
# Check Magisk version