1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-21 09:38:01 +02:00

Tools: Display error message asking to create a PR when there is an error in the Linux install script

This commit is contained in:
Laurent Cozic 2021-08-10 19:52:32 +01:00
parent 77cdd3467d
commit bef6fb8168

View File

@ -2,6 +2,17 @@
set -e
trap 'handleError' ERR
handleError() {
echo ""
echo "If you encountered an error, please consider fixing"
echo "the script for your environment and creating a pull"
echo "request instead of asking for support on GitHub or"
echo "the forum. The error message above should tell you"
echo "where and why the error happened."
}
#-----------------------------------------------------
# Variables
#-----------------------------------------------------