mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-11-27 12:05:30 +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…
Reference in New Issue
Block a user