Skip to content

Commit 18eebfc

Browse files
committed
Remove old user certificates before syncing
1 parent 5b78a9e commit 18eebfc

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

common/post-fs-data.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
MODDIR=${0%/*}
55

66
mkdir -p $MODDIR/system/etc/security/cacerts
7+
rm $MODDIR/system/etc/security/cacerts/*
78
cp -f /data/misc/user/0/cacerts-added/* $MODDIR/system/etc/security/cacerts/
89

910
# This script will be executed in post-fs-data mode

0 commit comments

Comments
 (0)