Commit 71fa3aec authored by Christoph Berg's avatar Christoph Berg

postgresql-common.postinst: Call su without - to avoid a warning.

parent d349d211
......@@ -5,6 +5,7 @@ postgresql-common (153) UNRELEASED; urgency=medium
This eases dist-upgrades that upgrade logrotate to >= 3.8 from an older
version (squeeze->wheezy, precise->trusty).
* postgresql-common.postinst: Stop debconf later so ucf can use it.
* postgresql-common.postinst: Call su without - to avoid a warning.
* t/020_create_sql_remove.t: Make pipe writes unbuffered.
-- Christoph Berg <christoph.berg@credativ.de> Thu, 09 Jan 2014 12:49:19 +0100
......
......@@ -52,7 +52,7 @@ Please fix this and reinstall this package." >&2
# ensure home directory ownership
mkdir -p /var/lib/postgresql
su -s /bin/sh - postgres -c "test -O /var/lib/postgresql &&
su -s /bin/sh postgres -c "test -O /var/lib/postgresql &&
test -G /var/lib/postgresql" || \
chown postgres:postgres /var/lib/postgresql
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment