aports/community/postgresql-bdr/postgresql-bdr.pre-install
Jakub Jirutka 0201ddc3ca community/postgresql-bdr: move from main
The last release was in 2017, i.e. this project is dead and we can
hardly provide support that is expected from packages in the main
repository. I wanted to remove it, but Leonardo Arena objected:

> These packages are currently deployed in hundreds of installations in
> a large corporate network which is contributing to the Alpine project.
> So it will be detrimental for Alpine to remove them.

For this reason, we keep it in aports and just move to the community
repository.

The only package that depends on postgresql-bdr is
postgresql-bdr-extension.
2021-11-16 23:09:48 +01:00

11 lines
299 B
Bash

#!/bin/sh
# Fixed GID/UID values as this users was previously included in the
# default /etc/passwd as shipped by main/alpine-baselayout.
addgroup -g 70 -S postgres 2>/dev/null
adduser -u 70 -S -D -H -h /var/lib/postgresql -g "Postgres user" \
-s /bin/sh -G postgres postgres 2>/dev/null
exit 0