From fc3d1a4af5eb87485dd248ebe40cfa960307298a Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Wed, 17 Sep 2025 16:02:09 +0200 Subject: [PATCH] Less isn't installed if the packages are the ones failing --- install/helpers/errors.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/install/helpers/errors.sh b/install/helpers/errors.sh index 6e18bbbb..2b63409b 100644 --- a/install/helpers/errors.sh +++ b/install/helpers/errors.sh @@ -126,7 +126,11 @@ catch_errors() { break ;; "View full log") - less "$OMARCHY_INSTALL_LOG_FILE" + if command -v less &>/dev/null; then + less "$OMARCHY_INSTALL_LOG_FILE" + else + tail "$OMARCHY_INSTALL_LOG_FILE" + fi ;; "Upload log for support") omarchy-upload-install-log