If we installed from the installer, we should remind user to unplug USB

This commit is contained in:
David Heinemeier Hansson 2025-08-21 14:20:37 +02:00
parent d4fa028cf3
commit 9bf1edac9f

View File

@ -82,7 +82,13 @@ fi
# Reboot
show_logo laseretch 920
show_subtext "You're done! So we'll be rebooting now..."
sudo rm -f /etc/sudoers.d/99-omarchy-installer &>/dev/null
show_subtext "You're done! So we're ready to reboot now..."
if sudo test -f /etc/sudoers.d/99-omarchy-installer; then
sudo rm -f /etc/sudoers.d/99-omarchy-installer &>/dev/null
echo
gum confirm "Have you unplugged the USB installer?"
fi
sleep 2
reboot