You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -86,22 +86,24 @@ ui_print "- OK rootkit installed"
86
86
87
87
# Cleanups
88
88
$BOOTMODE|| recovery_cleanup
89
-
rm -rf $TMPDIR
89
+
rm -rf "$TMPDIR"
90
90
rm -rf /tmp/magisk 2>/dev/null
91
91
92
92
ui_print "- Done"
93
93
94
94
# SILENTPOLICY - backups warning
95
-
ui_print ""
96
-
ui_print ""
97
-
ui_print " ! WARNING !"
98
-
ui_print " Installation completed successfully. Do not reboot to system right now. Please do not forget to dump backups via adb and save them:"
99
-
ui_print ""
100
-
ui_print " $ adb pull $ORIGINALBACKUPSDIR . "
101
-
ui_print ""
102
-
ui_print " If you forget to do this, you will not be able to automatically uninstall this tool, you will have to manually restore your stock /boot partition"
103
-
ui_print ""
104
-
ui_print ""
95
+
if [ "$HAVE_BACKUP"-eq 0 ];then
96
+
ui_print ""
97
+
ui_print ""
98
+
ui_print " ! WARNING !"
99
+
ui_print " Installation completed successfully. Do not reboot to system right now. Please do not forget to dump backups via adb and save them:"
100
+
ui_print ""
101
+
ui_print " $ adb pull $ORIGINALBACKUPSDIR . "
102
+
ui_print ""
103
+
ui_print " It is strongly recommended to save this backup. Otherwise you may not be able to restore stock /boot signed image."
0 commit comments