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