FIX: discourse-setup MAXMIND works correctly
authorJay Pfaffman <jay@literatecomputing.com>
Wed, 27 Jan 2021 18:30:15 +0000 (10:30 -0800)
committerRafael dos Santos Silva <xfalcox@gmail.com>
Thu, 4 Feb 2021 18:53:47 +0000 (15:53 -0300)
commit3063a97a2cc63634af25cce34aa8776910d26427
treefe62e94330f78681fcccb4bdb20398f3f09a2310
parent32c7b9871617e1fb0e2deda0bdaf33d62aff2705
FIX: discourse-setup MAXMIND works correctly

Ouch. This was worse than I thought.

Things fixed:

- consistent formatting (mostly that after `then` was indented by 4, not 2)
- fail if `DISCOURSE_MAXMIND_LICENSE_KEY` is not added to $web_file
- detect if `web_only.yml` exists
- stop `web_only` if it exists rather than non-existing `app` (but why is it stopping it anyway?)
- don't try to `assert_maxmind_license_key` before `app.yml` exists
discourse-setup