mirror of
https://gitlab.com/Nanolx/NanoDroid
synced 2024-10-31 09:20:23 +00:00
CommonInstaller: syntax fix
This commit is contained in:
parent
3becb40640
commit
c5bab88a3d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user