install: Add comments documenting installer wrapper.

This commit is contained in:
Tim Abbott 2017-10-01 15:47:38 -07:00
parent 86c2c7ad34
commit 8c8613c3c7
1 changed files with 5 additions and 0 deletions

View File

@ -1,4 +1,9 @@
#!/bin/bash
#
# Thin wrapper around the actual install script (scripts/lib/install).
# The purpose of this wrapper is to log the full install script output
# to /var/log/zulip/install.log for easy debugging.
set -e
if [ "$EUID" -ne 0 ]; then
echo "Error: The installation script must be run as root" >&2