wok-next diff postgresql/receipt @ rev 2369
fix chroot in post_install
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 06 10:53:07 2009 +0000 (2009-03-06) |
parents | ac38c3a33f71 |
children | 81ec665f8df4 |
line diff
1.1 --- a/postgresql/receipt Wed Mar 04 10:16:20 2009 +0000 1.2 +++ b/postgresql/receipt Fri Mar 06 10:53:07 2009 +0000 1.3 @@ -65,7 +65,7 @@ 1.4 # addgroup postgres if needed 1.5 if ! grep -q postgres $1/etc/group; then 1.6 echo -n "Adding group postgres..." 1.7 - chroot $1/ addgroup postgres && addgroup postgres postgres 1.8 + chroot $1/ sh -c 'addgroup postgres && addgroup postgres postgres' 1.9 status 1.10 fi 1.11 chroot $1/ chown -R postgres.postgres /var/lib/pgsql /var/log/postgresql