Give people a chance to retry a failing installation

This commit is contained in:
David Heinemeier Hansson
2025-04-19 17:04:35 +02:00
parent b68eacc71f
commit 217ee95d2a

View File

@@ -1,6 +1,9 @@
# Exit immediately if a command exits with a non-zero status # Exit immediately if a command exits with a non-zero status
set -e 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 # Check the distribution name and version and abort if incompatible
source ~/.local/share/omakub/install/check-version.sh source ~/.local/share/omakub/install/check-version.sh