Skip to content

Commit

Permalink
improve compatability
Browse files Browse the repository at this point in the history
  • Loading branch information
ianchb authored Feb 18, 2023
1 parent 4e9a5e6 commit 1a2619b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions post-fs-data.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ mkdir -p $CHANGE
rm $CHANGE/*
if [ ! -f $MODDIR/../maodf.marker ]; then
cp -f $TARGET_PATH/* $CHANGE/
touch $MODDIR/../mff.marker
sed -i 's/"support_ota_validate">true</"support_ota_validate">false</g' $CHANGE/*.xml
else
sed -i 's/"support_ota_validate">true</"support_ota_validate">false</g' $MODDIR/../MIUI_AOD_Freely/system/$TARGET_PATH/*.xml
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
touch $MODDIR/../mff.marker

0 comments on commit 1a2619b

Please sign in to comment.