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:
parent
598f8a9014
commit
167db770ae
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user