added finished section to debian

This commit is contained in:
[yuri]
2025-11-10 12:54:43 +01:00
parent 542cf935cd
commit 7015b6a829

View File

@@ -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