From 9bf1edac9feddc1d42eac6bc2c21271a881103f9 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Thu, 21 Aug 2025 14:20:37 +0200 Subject: [PATCH] If we installed from the installer, we should remind user to unplug USB --- install.sh | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 1812c54b..52b5aa7d 100755 --- a/install.sh +++ b/install.sh @@ -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