mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-28 11:17:38 +00:00
parent
fb8dc07599
commit
aa02057895
@ -595,7 +595,7 @@ copy_sepolicy_rules() {
|
||||
local RULESDIR
|
||||
local active_dir=$(magisk --path)/.magisk/mirror/sepolicy.rules
|
||||
if [ -L $active_dir ]; then
|
||||
RULESDIR=$(readlink -f $active_dir)
|
||||
RULESDIR=$(readlink $active_dir)
|
||||
elif [ -d /data/unencrypted ] && ! grep ' /data ' /proc/mounts | grep -qE 'dm-|f2fs'; then
|
||||
RULESDIR=/data/unencrypted/magisk
|
||||
elif grep -q ' /cache ' /proc/mounts; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user