diff --git a/install/preflight/trap-errors.sh b/install/preflight/trap-errors.sh index 39381f1..ff154cb 100755 --- a/install/preflight/trap-errors.sh +++ b/install/preflight/trap-errors.sh @@ -31,4 +31,7 @@ catch_errors() { fi } +# Ensure gum is available as early as possible to retry errors +sudo pacman -S gum + trap catch_errors ERR