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