From 7015b6a829c842d2e2e836188ea060d79f9c7d8d Mon Sep 17 00:00:00 2001 From: "[yuri]" <[yuri.kuit@gmail.com]> Date: Mon, 10 Nov 2025 12:54:43 +0100 Subject: [PATCH] added finished section to debian --- v2/debian.sh | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/v2/debian.sh b/v2/debian.sh index 4e0bf30..57f61b5 100755 --- a/v2/debian.sh +++ b/v2/debian.sh @@ -353,3 +353,28 @@ color_green echo echo "Debian setup complete." color_reset + +########################## +# 7. Installation Finished +########################## +color_red + echo + echo "The installation has finished. A reboot is recommended before continuing." + color_reset + read -rp "Reboot now? [y/N]: " reboot_choice + case "${reboot_choice,,}" in + y|yes) + color_red + echo + echo "Rebooting now." + color_reset + sudo reboot + ;; + *) + color_yellow + echo + echo "Skipping reboot. Make sure to reboot manually before continuing upgrades." + color_reset + exit 0 + ;; + esac \ No newline at end of file