Fix install commands

This commit is contained in:
topjohnwu
2017-12-18 03:02:19 +08:00
parent 3aa0294cd4
commit a1871e4bc3
3 changed files with 3 additions and 3 deletions
@@ -249,7 +249,7 @@ public class InstallMagisk extends ParallelTask<Void, Void, Boolean> {
Utils.fmt("rm -rf %s/*; mkdir -p %s; chmod 700 /data/adb", binPath, binPath),
Utils.fmt("cp -af %s/* %s; rm -rf %s", install, binPath, install),
Utils.fmt("flash_boot_image %s %s", patched_boot, mBootLocation),
mm.remoteMagiskVersionCode >= 1464 ? "cp /data/magisk.img /data/adb/magisk.img" : "",
mm.remoteMagiskVersionCode >= 1464 ? "[ -L /data/magisk.img ] || cp /data/magisk.img /data/adb/magisk.img" : "",
"patch_dtbo_image");
break;
default: