mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-02-17 13:08:28 +00:00
Skip copy old rule
This commit is contained in:
parent
d06e9a0b51
commit
85a4b249b3
@ -653,6 +653,7 @@ copy_sepolicy_rules() {
|
||||
local MODDIR=${r%/*}
|
||||
[ -f $MODDIR/disable ] && continue
|
||||
[ -f $MODDIR/remove ] && continue
|
||||
[ -f $MODDIR/update ] && continue
|
||||
local MODNAME=${MODDIR##*/}
|
||||
mkdir -p $RULESDIR/$MODNAME
|
||||
cp -f $r $RULESDIR/$MODNAME/sepolicy.rule
|
||||
|
Loading…
x
Reference in New Issue
Block a user