Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

fix: Better handling of errors with install script

Jason Hollis9df0a2e54524
diff --git a/scripts/install.sh b/scripts/install.sh
index b7afeaefb5..69a7a3eb0a 100644
--- a/scripts/install.sh
+++ b/scripts/install.sh
@@ -1,6 +1,10 @@
#!/bin/bash
## Do not modify this file. You will lose the ability to install and auto-update!
+set -e # Exit immediately if a command exits with a non-zero status
+set -u # Treat unset variables as an error and exit
+set -o pipefail # Cause a pipeline to return the status of the last command that exited with a non-zero status
+
VERSION="1.1.0"
DOCKER_VERSION="24.0"