Reboot when signaled by installer
This commit is contained in:
1 file changed
+5
@@ -29,6 +29,11 @@ install_arch() {
|
|||||||
install_omarchy() {
|
install_omarchy() {
|
||||||
chroot_bash -lc "sudo pacman -S --noconfirm --needed gum" >/dev/null
|
chroot_bash -lc "sudo pacman -S --noconfirm --needed gum" >/dev/null
|
||||||
chroot_bash -lc "source /home/$OMARCHY_USER/.local/share/omarchy/install.sh || bash"
|
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
|
# Set Tokyo Night color scheme for the terminal
|
||||||
|
|||||||
Reference in new issue
Block a user