zulip/scripts/setup
Greg Price 0f836f51a5 generate-self-signed-cert: Fix a mostly-harmless bug.
Thanks to the magic of `set -x`, I noticed this:
```
+ cat
++ ssl-cert
/tmp/src/zulip-server/scripts/setup/generate-self-signed-cert: line 49: ssl-cert: command not found
+ apt-get install -y openssl
[...]
```

In other words, we were trying to run `ssl-cert` -- the name of a
Debian package I meant to refer to in a comment inside the templated
temporary config file for `openssl req` -- as if it were a command.
It wasn't, hence the error.

Because `set -e` has loopholes like a sieve, this didn't cause the
script to exit, just produced this funny output and presumably caused
the config file's comment to be missing a word.  In principle, it
could do something surprising if for some reason there were a command
named `ssl-cert` on PATH.

Fix it.
2018-01-23 18:08:52 -08:00
..
configure-rabbitmq configure-rabbitmq: Add support for RABBITMQ_NODE flag. 2017-04-29 15:03:05 -07:00
flush-memcached flush-memcached: Replace 'set -x' with more clear output. 2016-10-14 17:10:06 -07:00
generate-self-signed-cert generate-self-signed-cert: Fix a mostly-harmless bug. 2018-01-23 18:08:52 -08:00
generate_secrets.py thumbor: Auto generate thumbor_key and add it to zulip settings. 2017-11-16 22:34:14 -08:00
initialize-database initialize-database: Clean up final instructions. 2017-02-21 20:19:16 -08:00
install install: Add comments documenting installer wrapper. 2017-10-01 15:48:36 -07:00
node-wrapper install-node: bypass nvm wrapper for faster node startup. 2017-05-09 09:17:54 -07:00
pgroonga-debian.asc setup-apt-repo: Add pgroonga code for Debian stretch. 2017-07-14 17:22:20 -07:00
pgroonga-ppa.asc scripts: Stop using apt-add-repository. 2016-10-11 22:10:36 -07:00
postgres-init-db install: Update a comment for our post-/root/zulip world. 2017-08-15 17:41:07 -07:00
postgres-reset-sequences Scripts: Add script for resetting postgres sequences for imports. 2017-12-01 06:38:08 -08:00
setup-certbot setup-certbot: Stop automatically "agreeing" to the LE TOS. 2018-01-22 18:55:46 -08:00
terminate-psql-sessions terminate-psql-sessions: Remove set -x. 2016-10-14 17:08:05 -07:00
zulip-ppa.asc scripts: Stop using apt-add-repository. 2016-10-11 22:10:36 -07:00