mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-04 07:25:26 +00:00
Don't fix env when patch boot
This commit is contained in:
parent
de1b2b19b0
commit
66cf2c984a
@ -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
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user