mirror of
https://github.com/aljazceru/omakub.git
synced 2025-12-17 12:34:21 +01:00
Give people a chance to retry a failing installation
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user