Browse Source

ap/postgresql: Added proposed UID/GID for postgres account.

slackware-14.2
Damien Goutte-Gattat 13 years ago
parent
commit
ffe74c5da9
  1. 4
      ap/postgresql/doinst.sh
  2. 2
      ap/postgresql/postgresql.SlackBuild

4
ap/postgresql/doinst.sh

@ -12,9 +12,9 @@ config()
config /etc/rc.d/rc.postgresql.new
if ! grep ^postgres /etc/group > /dev/null ; then
/usr/sbin/groupadd postgres
/usr/sbin/groupadd -g 209 postgres
fi
if ! grep ^postgres /etc/passwd > /dev/null ; then
/usr/sbin/useradd -c PostgreSQL -d /var/lib/pgsql -g postgres postgres
/usr/sbin/useradd -u 209 -c PostgreSQL -d /var/lib/pgsql -g postgres postgres
fi

2
ap/postgresql/postgresql.SlackBuild

@ -33,7 +33,7 @@ WGET=${WGET:-ftp://ftp4.fr.postgresql.org/pub/mirrors/postgresql/source/v$VERSIO
# Build infos
NAMEPKG=${NAMEPKG:-postgresql}
BUILD=${BUILD:-1GGD}
BUILD=${BUILD:-2GGD}
ARCH=${ARCH:-i486}
JOBS=${JOBS:-1}
EXT=${EXT:-txz}

Loading…
Cancel
Save