2
0
mirror of https://gitlab.com/Nanolx/NanoDroid synced 2024-10-31 09:20:23 +00:00

CommonInstaller: syntax fix

This commit is contained in:
Christopher Roy Bratusek 2020-09-29 20:21:51 +02:00
parent 3becb40640
commit c5bab88a3d

View File

@ -269,8 +269,8 @@ mount_partitions () {
! is_mounted /vendor && mount -o ro /vendor
! is mounted /vendor && mount -o ro ${VENDOR_BLOCK} /vendor
if [ -d /system/vendor -a ! is_mounted /vendor ]; then
### XXX work-around required for some ROMs
if [[ ! $(is_mounted /vendor) && -a /system/vendor ]]; then
### XXX work-around required for some devices
VENDOR_COMPAT=TRUE
ln -sf /system/vendor /vendor >/dev/null
fi