mirror of
https://github.com/zulip/zulip.git
synced 2025-10-29 11:03:54 +00:00
The `unless` step errors out if /usr/bin/psql does not exist at first evaluation time -- protect that with a `test -f` check, and protect the actual `createuser` with a dependency on `postgresql-client`. To work around `Zulip::Safepackage` not actually being safe to instantiate more than once, we move the instantiation of `Package[postgresql-client]` into a class which can be safely included one or more times.