Commit b5b62e03 authored by topjohnwu's avatar topjohnwu

Fix copySepolicyRules logic

parent 67e2a472
......@@ -361,9 +361,10 @@ abstract class MagiskInstallImpl : KoinComponent {
}
private fun copySepolicyRules(): Boolean {
if (Info.remote.magisk.versionCode >= 21100) return true
// Copy existing rules for migration
"copy_sepolicy_rules".sh()
if (Info.remote.magisk.versionCode >= 21100) {
// Copy existing rules for migration
"copy_sepolicy_rules".sh()
}
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