Skip copy old rule

This commit is contained in:
vvb2060 2023-02-28 20:36:58 +08:00 committed by John Wu
parent d06e9a0b51
commit 85a4b249b3
1 changed files with 1 additions and 0 deletions

View File

@ -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