From d15b85aac7cb6c348fabceea9ced9a21178c7271 Mon Sep 17 00:00:00 2001 From: Daniel Hansson Date: Fri, 31 Mar 2023 20:59:42 +0200 Subject: [PATCH] exit if no Signed-off-by: Daniel Hansson --- apps/recognize.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/recognize.sh b/apps/recognize.sh index 56a624fa..007c9868 100644 --- a/apps/recognize.sh +++ b/apps/recognize.sh @@ -21,10 +21,12 @@ root_check # https://github.com/nextcloud/recognize/issues/676 if is_app_installed suspicious_login then - msg_box "Since you have the app Suspicious Login installed, you can't install Recognize since it will cause issues with cron.php." + msg_box "Since you have the app Suspicious Login Detection installed, you can't install Recognize. The reason is that it will cause issues with cron.php.\nIf you choose 'No' the installer will exit." if yesno_box_no "Do you want to remove Suspicious Login to be able to install Recognize?" then nextcloud_occ app:remove suspicious_login + else + exit fi fi