Stop run.sh when installing dependencies fails ()

This commit is contained in:
Pawloland 2023-04-12 15:13:57 +02:00 committed by GitHub
parent b05bb4fa92
commit 8337c73a1e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -26,7 +26,7 @@ if [ ! "$BASH_VERSION" ]; then
fi
cd "$(dirname "$0")" || exit 1
./install_deps.sh
./install_deps.sh || exit 1
WHIPTAIL=$(command -v whiptail 2>/dev/null)
DIALOG=$(command -v dialog 2>/dev/null)