From 4db0ad32f05a78d60aafd62e8ff78c5092d92fab Mon Sep 17 00:00:00 2001 From: topjohnwu Date: Mon, 18 Dec 2017 03:08:53 +0800 Subject: [PATCH] Fix install scripts --- app | 2 +- scripts/flash_script.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app b/app index 310b26625..a1871e4bc 160000 --- a/app +++ b/app @@ -1 +1 @@ -Subproject commit 310b266251da60e649922e11cd3af1455e48304a +Subproject commit a1871e4bc3b11fa5e17275527f87b18ce7a475b7 diff --git a/scripts/flash_script.sh b/scripts/flash_script.sh index 8c041af49..005dc1148 100644 --- a/scripts/flash_script.sh +++ b/scripts/flash_script.sh @@ -84,7 +84,7 @@ if is_mounted /data; then # Some legacy migration mv /data/magisk/stock_boot* /data 2>/dev/null - mv /data/magisk.img /data/adb/magisk.img + [ -L /data/magisk.img ] || mv /data/magisk.img /data/adb/magisk.img else MAGISKBIN=/cache/data_bin fi