Skip to content

Commit fbfdac6

Browse files
Now?
1 parent 7e65568 commit fbfdac6

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

common/util_functions.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,6 @@ MODULESPATH=$ADBPATH/modules
1717
MHPCPATH=$ADBPATH/mhpc
1818
if [ "$INSTFN" ]; then
1919
# Installation (config.sh)
20-
if [ ! -d "$MHPCPATH" ]; then
21-
mkdir -pv $MHPCPATH >> $LOGFILE 2>&1
22-
fi
2320
MODVERSION=$(echo $(get_file_value $TMPDIR/module.prop "version=") | sed 's|-.*||')
2421
POSTPATH=$ADBPATH/post-fs-data.d
2522
SERVICEPATH=$ADBPATH/service.d

install.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,10 @@ print_modname() {
4444
# Load functions and variables
4545
INSTFN=true
4646
. $TMPDIR/util_functions.sh
47+
48+
# Create install directory
49+
mkdir -pv $MHPCPATH
50+
4751
# Start module installation log
4852
log_start
4953
# Check Magisk version

0 commit comments

Comments
 (0)