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

fix one of the two issues in #162

This commit is contained in:
Christopher Roy Bratusek 2020-10-28 22:04:34 +01:00
parent 598f8a9014
commit 167db770ae
4 changed files with 4 additions and 4 deletions

View File

@ -256,7 +256,7 @@ mount_partitions () {
if [ -z ${SLOT} ]; then
SLOT=$(grep_cmdline androidboot.slot)
echo " INFO: #2 [SLOT] ${SLOT}"
if [ -n ${SLOT} ]; then
if [ ! -z ${SLOT} ]; then
SLOT=_${SLOT}
echo " INFO: #3 [SLOT] ${SLOT}"
DEVICE_AB=TRUE

View File

@ -123,7 +123,7 @@ mount_partitions () {
if [ -z ${SLOT} ]; then
SLOT=$(grep_cmdline androidboot.slot)
echo " INFO: #2 [SLOT] ${SLOT}"
if [ -n ${SLOT} ]; then
if [ ! -z ${SLOT} ]; then
SLOT=_${SLOT}
echo " INFO: #3 [SLOT] ${SLOT}"
DEVICE_AB=TRUE

View File

@ -111,7 +111,7 @@ mount_partitions () {
SLOT=$(grep_cmdline androidboot.slot_suffix)
if [ -z ${SLOT} ]; then
SLOT=$(grep_cmdline androidboot.slot)
if [ -n ${SLOT} ]; then
if [ ! -z ${SLOT} ]; then
SLOT=_${SLOT}
DEVICE_AB=TRUE
fi

View File

@ -139,7 +139,7 @@ mount_partitions () {
if [ -z ${SLOT} ]; then
SLOT=$(grep_cmdline androidboot.slot)
echo " INFO: #2 [SLOT] ${SLOT}"
if [ -n ${SLOT} ]; then
if [ ! -z ${SLOT} ]; then
SLOT=_${SLOT}
echo " INFO: #3 [SLOT] ${SLOT}"
DEVICE_AB=TRUE