Update scripts

This commit is contained in:
topjohnwu
2019-04-06 13:04:17 -04:00
parent ace3708c9c
commit c5758b3f2d
2 changed files with 2 additions and 4 deletions

View File

@ -41,12 +41,10 @@ ui_print "************************"
ui_print "* Magisk v$MAGISK_VER Installer"
ui_print "************************"
is_mounted /data || mount /data || is_mounted /cache || mount /cache || abort "! Unable to mount partitions"
is_mounted /data || mount /data || is_mounted /cache || mount /cache
mount_partitions
check_data
get_flags
find_boot_image
[ -z $BOOTIMAGE ] && abort "! Unable to detect target image"