wok-6.x diff postgresql/receipt @ rev 1430
busybox/modprobe -l: add pattern support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Sep 29 18:12:27 2008 +0200 (2008-09-29) |
parents | 03a799424aaa |
children | ce324408f6ba |
line diff
1.1 --- a/postgresql/receipt Fri Sep 26 09:21:16 2008 +0000 1.2 +++ b/postgresql/receipt Mon Sep 29 18:12:27 2008 +0200 1.3 @@ -2,7 +2,7 @@ 1.4 1.5 PACKAGE="postgresql" 1.6 VERSION="8.3.3" 1.7 -CATEGORY="misc" 1.8 +CATEGORY="system" 1.9 SHORT_DESC="SQL database system." 1.10 MAINTAINER="pascal.bellard@slitaz.org" 1.11 TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.12 @@ -55,6 +55,9 @@ 1.13 if ! grep -q postgres $1/etc/passwd; then 1.14 echo -n "Adding user postgres..." 1.15 chroot $1/ adduser postgres -D -H -h /var/lib/pgsql 1.16 + # ensure not to overload tux user 1.17 + sed -i 's/^postgres:x:1000:1000:/postgres:x:1001:1001:/' $1/etc/passwd 1.18 + sed -i 's/^postgres:x:1000:/postgres:x:1001:/' $1/etc/group 1.19 status 1.20 fi 1.21 # addgroup postgres if needed