Skip to content

Commit

Permalink
Small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
sfionov committed Sep 25, 2023
1 parent bdfd0dd commit 88da525
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions module/post-fs-data.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,11 @@ rm -f /data/misc/user/*/cacerts-removed/${AG_CERT_HASH}.*
cp -f ${AG_CERT_FILE} ${MODDIR}/system/etc/security/cacerts/${AG_CERT_HASH}.0
chown -R 0:0 ${MODDIR}/system/etc/security/cacerts
set_context /system/etc/security/cacerts $MODDIR/system/etc/security/cacerts
set_context /system/etc/security/cacerts ${MODDIR}/system/etc/security/cacerts
# Android 14 support
# Since Magisk ignore /apex for module file injections, use non-Magisk way
if [ -e /apex/com.android.conscrypt/cacerts ]; then
if [ -d /apex/com.android.conscrypt/cacerts ]; then
# Clone directory into tmpfs
rm -f /data/local/tmp/tmp-ca-copy
mkdir -p /data/local/tmp/tmp-ca-copy
Expand Down

0 comments on commit 88da525

Please sign in to comment.