mirror of
https://github.com/MustardChef/WSABuilds.git
synced 2024-11-27 05:34:16 +01:00
Fix
This commit is contained in:
parent
70bb0fdb8f
commit
4f3a5e3587
@ -439,7 +439,7 @@ sudo mount -o loop "$WORK_DIR"/wsa/"$ARCH"/system_ext.img "$MOUNT_DIR"/system_ex
|
|||||||
echo -e "done\n"
|
echo -e "done\n"
|
||||||
|
|
||||||
if [ "$REMOVE_AMAZON" ]; then
|
if [ "$REMOVE_AMAZON" ]; then
|
||||||
echo "Remove Amazon AppStore"
|
echo "Remove Amazon Appstore"
|
||||||
find "${MOUNT_DIR:?}"/product/{etc/permissions,etc/sysconfig,framework,priv-app} | grep -e amazon -e venezia | sudo xargs rm -rf
|
find "${MOUNT_DIR:?}"/product/{etc/permissions,etc/sysconfig,framework,priv-app} | grep -e amazon -e venezia | sudo xargs rm -rf
|
||||||
echo -e "done\n"
|
echo -e "done\n"
|
||||||
fi
|
fi
|
||||||
@ -631,7 +631,7 @@ if [ "$GAPPS_BRAND" != 'none' ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Umount images"
|
echo "Umount images"
|
||||||
sudo find "$MOUNT_DIR" -exec touch -amt 200901010000.00 {} \; >/dev/null 2>&1
|
sudo find "$MOUNT_DIR" -exec touch -hamt 200901010000.00 {} \;
|
||||||
sudo umount "$MOUNT_DIR"/vendor
|
sudo umount "$MOUNT_DIR"/vendor
|
||||||
sudo umount "$MOUNT_DIR"/product
|
sudo umount "$MOUNT_DIR"/product
|
||||||
sudo umount "$MOUNT_DIR"/system_ext
|
sudo umount "$MOUNT_DIR"/system_ext
|
||||||
|
Loading…
Reference in New Issue
Block a user