wok-6.x diff postgresql/receipt @ rev 5801

Speedup some builds
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jul 11 15:49:06 2010 +0200 (2010-07-11)
parents d6700680fb11
children d82443087752
line diff
     1.1 --- a/postgresql/receipt	Sat Dec 26 10:32:30 2009 +0100
     1.2 +++ b/postgresql/receipt	Sun Jul 11 15:49:06 2010 +0200
     1.3 @@ -58,6 +58,7 @@
     1.4  	if ! grep -q postgres $1/etc/passwd; then
     1.5  		echo -n "Adding user postgres..."
     1.6  		chroot $1/ adduser postgres -D -H -h /var/lib/pgsql
     1.7 +		rm -f /var/lib/pgsql/.* /var/lib/pgsql/*
     1.8  		# ensure not to overload tux user
     1.9  		i=1100
    1.10  		while grep -q ":$i:" $1/etc/passwd ; do i=$(( $i + 1 )); done