Commit 66cf2c98 authored by vvb2060's avatar vvb2060 Committed by John Wu

Don't fix env when patch boot

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