From ccf6afc36c06314e731fc4217ee395a1480a4dd4 Mon Sep 17 00:00:00 2001 From: Shigeto Kumagai Date: Mon, 18 Aug 2025 19:39:46 +0900 Subject: [PATCH] fix: missing python-poetry-core make Omarchy install fail (#862) * fix: missing python-poetry-core * added migration * Flesh out migration to fix all tte issues * Turn TTE back on --------- Co-authored-by: David Heinemeier Hansson --- install.sh | 6 +++--- install/preflight/tte.sh | 2 +- migrations/1755455095.sh | 9 +++++++++ 3 files changed, 13 insertions(+), 4 deletions(-) create mode 100644 migrations/1755455095.sh diff --git a/install.sh b/install.sh index 597c32d3..0e9693c5 100755 --- a/install.sh +++ b/install.sh @@ -17,13 +17,13 @@ trap catch_errors ERR show_logo() { clear - # tte -i ~/.local/share/omarchy/logo.txt --frame-rate ${2:-120} ${1:-expand} + tte -i ~/.local/share/omarchy/logo.txt --frame-rate ${2:-120} ${1:-expand} cat <~/.local/share/omarchy/logo.txt echo } show_subtext() { - echo "$1" # | tte --frame-rate ${3:-640} ${2:-wipe} + echo "$1" | tte --frame-rate ${3:-640} ${2:-wipe} echo } @@ -31,7 +31,7 @@ show_subtext() { source $OMARCHY_INSTALL/preflight/gum.sh source $OMARCHY_INSTALL/preflight/guard.sh source $OMARCHY_INSTALL/preflight/aur.sh -# source $OMARCHY_INSTALL/preflight/tte.sh +source $OMARCHY_INSTALL/preflight/tte.sh source $OMARCHY_INSTALL/preflight/migrations.sh # Configuration diff --git a/install/preflight/tte.sh b/install/preflight/tte.sh index dd3de4b0..9f58f57e 100644 --- a/install/preflight/tte.sh +++ b/install/preflight/tte.sh @@ -1,3 +1,3 @@ #!/bin/bash -yay -S --noconfirm --needed python-terminaltexteffects +yay -S --noconfirm --needed python-poetry-core python-terminaltexteffects diff --git a/migrations/1755455095.sh b/migrations/1755455095.sh new file mode 100644 index 00000000..8ea51652 --- /dev/null +++ b/migrations/1755455095.sh @@ -0,0 +1,9 @@ +echo "Ensure TTE and dependencies are installed" + +if ! yay -Q python-poetry-core &>/dev/null; then + yay -S --noconfirm python-poetry-core +fi + +if ! yay -Q python-terminaltexteffects &>/dev/null; then + yay -S --noconfirm python-terminaltexteffects +fi