Commit 274efb49 authored by topjohnwu's avatar topjohnwu

Fix modules installation error

parent b3cd83bb
...@@ -375,6 +375,7 @@ mount_magisk_img() { ...@@ -375,6 +375,7 @@ mount_magisk_img() {
fi fi
ui_print "- Mounting $IMG to $MOUNTPATH" ui_print "- Mounting $IMG to $MOUNTPATH"
mkdir -p $MOUNTPATH 2>/dev/null
MAGISKLOOP=`$MAGISKBIN/magisk --mountimg $IMG $MOUNTPATH` MAGISKLOOP=`$MAGISKBIN/magisk --mountimg $IMG $MOUNTPATH`
is_mounted $MOUNTPATH || abort "! $IMG mount failed..." is_mounted $MOUNTPATH || abort "! $IMG mount failed..."
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment