diff --git a/scripts/lib/install b/scripts/lib/install index 835aee9a2a..f9da9c342b 100755 --- a/scripts/lib/install +++ b/scripts/lib/install @@ -49,6 +49,18 @@ Options: EOF } +system_requirements_failure() { + set +x + echo >&2 + cat >&2 + cat <&2 + +For more information, see: + https://zulip.readthedocs.io/en/latest/production/requirements.html +EOF + exit 1 +} + # Shell option parsing. Over time, we'll want to move some of the # environment variables below into this self-documenting system. args="$(getopt -o '' --long help,hostname:,email:,certbot,self-signed-cert,cacert:,postgresql-database-name:,postgresql-database-user:,postgresql-version:,postgresql-missing-dictionaries,no-init-db,no-overwrite-settings,no-dist-upgrade -n "$0" -- "$@")" @@ -221,9 +233,7 @@ fi case "$os_id $os_version_id" in 'debian 11' | 'debian 12' | 'ubuntu 20.04' | 'ubuntu 22.04') ;; *) - set +x - cat <