Skip to content

Commit

Permalink
Solve conflicts with MIUI-AOD-Freely
Browse files Browse the repository at this point in the history
  • Loading branch information
ianchb authored Feb 18, 2023
1 parent 0e23996 commit 4e9a5e6
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion post-fs-data.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,11 @@ done
CHANGE=$MODDIR/system/$TARGET_PATH
mkdir -p $CHANGE
rm $CHANGE/*
cp -f $TARGET_PATH/* $CHANGE/
if [ ! -f $MODDIR/../maodf.marker ]; then
cp -f $TARGET_PATH/* $CHANGE/
touch $MODDIR/../mff.marker
else
cp -f $MODDIR/../MIUI_AOD_Freely/system/$TARGET_PATH/* $CHANGE/
rm -f $MODDIR/../maodf.marker
fi
sed -i 's/"support_ota_validate">true</"support_ota_validate">false</g' $CHANGE/*.xml

0 comments on commit 4e9a5e6

Please sign in to comment.