Don't fix env when patch boot

This commit is contained in:
vvb2060 2022-01-08 01:34:46 +08:00 committed by John Wu
parent de1b2b19b0
commit 66cf2c984a

View File

@ -324,11 +324,7 @@ abstract class MagiskInstallImpl protected constructor(
// Fix up binaries
srcBoot.delete()
if (shell.isRoot) {
"fix_env $installDir".sh()
} else {
"cp_readlink $installDir".sh()
}
"cp_readlink $installDir".sh()
return true
}