From f7142e69b6e5c3d6effc75ee42775de39a20a5d7 Mon Sep 17 00:00:00 2001 From: topjohnwu Date: Thu, 19 Mar 2020 03:53:01 -0700 Subject: [PATCH] Fix module install in util_functions.sh --- scripts/util_functions.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/util_functions.sh b/scripts/util_functions.sh index 499b05d59..17e91531c 100644 --- a/scripts/util_functions.sh +++ b/scripts/util_functions.sh @@ -629,6 +629,9 @@ is_legacy_script() { install_module() { local PERSISTDIR=/sbin/.magisk/mirror/persist + rm -rf $TMPDIR + mkdir -p $TMPDIR + setup_flashable mount_partitions api_level_arch_detect