Fix copySepolicyRules logic
This commit is contained in:
parent
67e2a4720e
commit
b5b62e03af
@ -361,9 +361,10 @@ abstract class MagiskInstallImpl : KoinComponent {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private fun copySepolicyRules(): Boolean {
|
private fun copySepolicyRules(): Boolean {
|
||||||
if (Info.remote.magisk.versionCode >= 21100) return true
|
if (Info.remote.magisk.versionCode >= 21100) {
|
||||||
// Copy existing rules for migration
|
// Copy existing rules for migration
|
||||||
"copy_sepolicy_rules".sh()
|
"copy_sepolicy_rules".sh()
|
||||||
|
}
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user