Install gum prior to the preflight guard (#684)

* Use `read` instead of `gum` in the preflight guard

* Revert "Use `read` instead of `gum` in the preflight guard"

This reverts commit 759dbb70454dccc27b78b198bf077e076750fefc.

* Install `gum`, if required, at the beginning of `install.sh`

* `gum` is already installed by the `presentation.sh` stage

* Use existing structure

---------

Co-authored-by: David Heinemeier Hansson <david@hey.com>
This commit is contained in:
Dylan Bridgman 2025-08-12 13:44:28 +02:00 committed by GitHub
parent 6634e28540
commit b15dde2dc9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 8 additions and 4 deletions

View File

@ -27,9 +27,10 @@ show_subtext() {
} }
# Install prerequisites # Install prerequisites
source $OMARCHY_INSTALL/preflight/gum.sh
source $OMARCHY_INSTALL/preflight/guard.sh source $OMARCHY_INSTALL/preflight/guard.sh
source $OMARCHY_INSTALL/preflight/aur.sh source $OMARCHY_INSTALL/preflight/aur.sh
source $OMARCHY_INSTALL/preflight/presentation.sh source $OMARCHY_INSTALL/preflight/tte.sh
source $OMARCHY_INSTALL/preflight/migrations.sh source $OMARCHY_INSTALL/preflight/migrations.sh
# Configuration # Configuration

3
install/preflight/gum.sh Normal file
View File

@ -0,0 +1,3 @@
#!/bin/bash
yay -S --noconfirm --needed gum

View File

@ -1,3 +0,0 @@
#!/bin/bash
yay -S --noconfirm --needed gum python-terminaltexteffects

3
install/preflight/tte.sh Normal file
View File

@ -0,0 +1,3 @@
#!/bin/bash
yay -S --noconfirm --needed python-terminaltexteffects