Reboot when signaled by installer

This commit is contained in:
Ryan Hughes committed 2025-10-08 20:41:29 -04:00
1 parent 7598e58d0b
commit 59a17acf88
1 file changed
+5
@@ -29,6 +29,11 @@ install_arch() {
install_omarchy() {
chroot_bash -lc "sudo pacman -S --noconfirm --needed gum" >/dev/null
chroot_bash -lc "source /home/$OMARCHY_USER/.local/share/omarchy/install.sh || bash"
# Reboot if requested by installer
if [[ -f /mnt/var/tmp/omarchy-install-completed ]]; then
reboot
fi
}
# Set Tokyo Night color scheme for the terminal