mirror of
https://github.com/topjohnwu/Magisk.git
synced 2026-10-08 14:15:27 -04:00
Fix copySepolicyRules logic
This commit is contained in:
1 parent
67e2a4720e
commit
b5b62e03af
1 file changed
+4
-3
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user