mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-08-21 17:10:46 +00:00
Fix copySepolicyRules logic
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user