mirror of https://github.com/zulip/zulip.git
installer: Be tighter about the search for postgres server packages.
This commit is contained in:
parent
6d6d43188d
commit
cd290c2c66
|
@ -190,7 +190,7 @@ case ",$PUPPET_CLASSES," in
|
|||
# We're going to install Postgres from the postgres apt
|
||||
# repository; this may conflict with the existing postgres.
|
||||
OTHER_PG="$(dpkg --get-selections |
|
||||
grep '^postgresql-[1-9].*\binstall$' |
|
||||
grep -E '^postgresql-[0-9]+\s+install$' |
|
||||
grep -v "^postgresql-$POSTGRES_VERSION\b" |
|
||||
cut -f 1)" || true
|
||||
if [ -n "$OTHER_PG" ]; then
|
||||
|
|
Loading…
Reference in New Issue