From 217ee95d2a79ddce50178e47b41276a654a18eaf Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Sat, 19 Apr 2025 17:04:35 +0200 Subject: [PATCH] Give people a chance to retry a failing installation --- install.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/install.sh b/install.sh index 6d51d7b..d49e3f3 100644 --- a/install.sh +++ b/install.sh @@ -1,6 +1,9 @@ # Exit immediately if a command exits with a non-zero status set -e +# Give people a chance to retry running the installation +trap 'echo "Omakub installation failed! You can retry by running: source ~/.local/share/omakub/install.sh"' ERR + # Check the distribution name and version and abort if incompatible source ~/.local/share/omakub/install/check-version.sh