From 682e738d0a26c8f86f03d49ae975aa6de0c33e2a Mon Sep 17 00:00:00 2001 From: Daniel Hansson Date: Mon, 30 Mar 2020 19:04:31 +0200 Subject: [PATCH] just make sure the setup script is removed ...or ask the user to report if it fails. --- nextcloud-startup-script.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nextcloud-startup-script.sh b/nextcloud-startup-script.sh index c5340e27..bffa1347 100644 --- a/nextcloud-startup-script.sh +++ b/nextcloud-startup-script.sh @@ -621,6 +621,6 @@ sed -i "s|precedence ::ffff:0:0/96 100|#precedence ::ffff:0:0/96 100|g" /etc/g # Reboot print_text_in_color "$IGreen" "Installation done, system will now reboot..." -rm -f "$SCRIPTS/you-can-not-run-the-startup-script-several-times" -rm -f "$SCRIPTS/nextcloud-startup-script.sh" +check_command rm -f "$SCRIPTS/you-can-not-run-the-startup-script-several-times" +check_command rm -f "$SCRIPTS/nextcloud-startup-script.sh" reboot