wok diff postgresql/receipt @ rev 20401
Add lziprecover
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jun 28 11:44:28 2018 +0200 (2018-06-28) |
parents | fa0020fd543d |
children | a78610b2eb47 |
line diff
1.1 --- a/postgresql/receipt Wed Apr 05 16:25:04 2017 +0200 1.2 +++ b/postgresql/receipt Thu Jun 28 11:44:28 2018 +0200 1.3 @@ -56,6 +56,7 @@ 1.4 { 1.5 # adduser postgres if needed 1.6 if ! grep -q postgres: "$1/etc/passwd"; then 1.7 + echo 1.8 echo -n "Adding user postgres..." 1.9 chroot "$1/" adduser postgres -D -H -u 88 -h /var/lib/pgsql 1.10 #[ -d "$1/var/lib/pgsql" ] && rm -f "$1/var/lib/pgsql"/.* "$1/var/lib/pgsql"/* 1.11 @@ -63,6 +64,7 @@ 1.12 fi 1.13 # addgroup postgres if needed 1.14 if ! grep -q postgres: "$1/etc/group"; then 1.15 + echo 1.16 echo -n "Adding group postgres..." 1.17 chroot "$1/" sh -c 'addgroup -g 88 postgres' 1.18 status