diff --git a/F-Droid/META-INF/com/google/android/update-binary b/F-Droid/META-INF/com/google/android/update-binary index 04c32db..5562a4a 100644 --- a/F-Droid/META-INF/com/google/android/update-binary +++ b/F-Droid/META-INF/com/google/android/update-binary @@ -7,7 +7,7 @@ ZIP=${3} ZIPDIR=$(dirname "${ZIP}") MODID=NanoDroid_FDroid -umount /system +umount /system &>/dev/null mkdir /dev/tmp unzip -o "${ZIP}" nanodroid-functions -d "/dev/tmp" diff --git a/Full/META-INF/com/google/android/update-binary b/Full/META-INF/com/google/android/update-binary index cbf970c..a4f1394 100644 --- a/Full/META-INF/com/google/android/update-binary +++ b/Full/META-INF/com/google/android/update-binary @@ -7,7 +7,7 @@ ZIP=${3} ZIPDIR=$(dirname "${ZIP}") MODID=NanoDroid -umount /system +umount /system &>/dev/null mkdir /dev/tmp unzip -o "${ZIP}" nanodroid-functions -d "/dev/tmp" diff --git a/Full/nanodroid-functions b/Full/nanodroid-functions index c4f36ba..eb8c60f 100644 --- a/Full/nanodroid-functions +++ b/Full/nanodroid-functions @@ -131,7 +131,7 @@ mount_partitions () { SLOT=$(getprop ro.boot.slot_suffix) if [ -z ${SLOT} ]; then SLOT=$(getprop ro.boot.slot) - [ ${SLOT} = "_" ] && SLOT= + [ "${SLOT}" = "_" ] && SLOT= fi is_mounted /data || mount /data 2>/dev/null diff --git a/microG/META-INF/com/google/android/update-binary b/microG/META-INF/com/google/android/update-binary index b5dc5e6..5dcc0e9 100644 --- a/microG/META-INF/com/google/android/update-binary +++ b/microG/META-INF/com/google/android/update-binary @@ -7,7 +7,7 @@ ZIP=${3} ZIPDIR=$(dirname "${ZIP}") MODID=NanoDroid_microG -umount /system +umount /system &>/dev/null mkdir /dev/tmp unzip -o "${ZIP}" nanodroid-functions -d "/dev/tmp"