Fix check to remove Provision when flashing zip

* Google's SuW was renamed, but this check wasn't fixed
This commit is contained in:
Paul Keith 2021-10-20 18:26:47 -07:00
parent 87b6cc26cb
commit 720abb0200

View File

@ -269,7 +269,7 @@ if [ -n "$SYSTEM_EXT_BLOCK" ]; then
cp --preserve=a -r ./system_ext/* /system_ext
fi
if [ -e product/priv-app/SetupWizardPrebuilt ] ; then
if [ -e product/priv-app/SetupWizard ] ; then
rm -rf /system/system_ext/priv-app/Provision
fi