From 2f2108e4e8e8d46f2162ae87b86b64376c6eff01 Mon Sep 17 00:00:00 2001
From: topjohnwu <topjohnwu@gmail.com>
Date: Sat, 23 Mar 2019 05:28:43 -0400
Subject: [PATCH] Fix typo in module installer

---
 scripts/module_installer.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/module_installer.sh b/scripts/module_installer.sh
index ab4bd6588..3f6939d68 100644
--- a/scripts/module_installer.sh
+++ b/scripts/module_installer.sh
@@ -69,7 +69,7 @@ if imageless_magisk; then
   $BOOTMODE && MODDIRNAME=modules_update || MODDIRNAME=modules
   MODULEROOT=$NVBASE/$MODDIRNAME
 else
-  $BOOTMODE && IMGNAME=magisk.img || IMGNAME=magisk_merge.img
+  $BOOTMODE && IMGNAME=magisk_merge.img || IMGNAME=magisk.img
   IMG=$NVBASE/$IMGNAME
   request_zip_size_check "$ZIP"
   mount_magisk_img