Accepting request 604586 from server:database:postgresql
fix for update-alternatives OBS-URL: https://build.opensuse.org/request/show/604586 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/postgresql?expand=0&rev=53
This commit is contained in:
commit
f9c5019f5b
@ -43,7 +43,7 @@ cd ~
|
||||
case "$1" in
|
||||
start)
|
||||
if [ ! -f $DATADIR/PG_VERSION ]; then
|
||||
LANG=${POSTGRES_LANG:-$LANG}
|
||||
test -n "$POSTGRES_LANG" && export LC_ALL="$POSTGRES_LANG"
|
||||
V=$(printf "%02d%02d" $(echo $VERSION|awk -F. '{print $1, $2}'))
|
||||
install -d -m 700 ${DATADIR} &&
|
||||
echo "Initializing PostgreSQL $VERSION at location ${DATADIR}"
|
||||
|
@ -1,3 +1,15 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 30 13:26:49 UTC 2018 - dimstar@opensuse.org
|
||||
|
||||
- Require update-alternatives by postgresql: one of the main
|
||||
scripts in use is install-alternatives, which calls u-a.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 2 10:03:33 UTC 2018 - max@suse.com
|
||||
|
||||
- Put POSTGRES_LANG into LC_ALL instead of LANG to retain the
|
||||
previous behaviour of that variable (boo#1077027).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 17 16:48:57 UTC 2018 - max@suse.com
|
||||
|
||||
|
@ -38,6 +38,7 @@ Url: https://www.postgresql.org/
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Provides: postgresql-noarch = %version-%release
|
||||
Requires: postgresql-implementation
|
||||
Requires: update-alternatives
|
||||
Recommends: %defaultpackage
|
||||
BuildArch: noarch
|
||||
Source0: postgresql-init
|
||||
|
Loading…
Reference in New Issue
Block a user