Browse Source

postgresql: removed capability to set install prefix via Config

stable/0.2
Christian Wiese 14 years ago
parent
commit
0cbd911a0a
  1. 5
      database/postgresql/config.in
  2. 6
      database/postgresql/postgresql.conf

5
database/postgresql/config.in

@ -2,7 +2,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
# #
# Filename: package/.../postgresql/config.in # Filename: package/.../postgresql/config.in
# Copyright (C) 2006 - 2010 The OpenSDE Project # Copyright (C) 2006 - 2011 The OpenSDE Project
# #
# More information can be found in the files COPYING and README. # More information can be found in the files COPYING and README.
# #
@ -16,9 +16,6 @@ if pkgcheck postgresql X
then then
menu_begin MENU_PKG_POSTGRESQL 'PostgreSQL Package Options' menu_begin MENU_PKG_POSTGRESQL 'PostgreSQL Package Options'
text 'Install prefix for postgresql packages' \
SDECFG_PKG_POSTGRESQL_PREFIX "opt/postgresql"
bool "Include PostgreSQL contributed 3rd. Party Applications" \ bool "Include PostgreSQL contributed 3rd. Party Applications" \
SDECFG_PKG_POSTGRESQL_CONTRIB 1 SDECFG_PKG_POSTGRESQL_CONTRIB 1

6
database/postgresql/postgresql.conf

@ -2,7 +2,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
# #
# Filename: package/.../postgresql/postgresql.conf # Filename: package/.../postgresql/postgresql.conf
# Copyright (C) 2006 - 2010 The OpenSDE Project # Copyright (C) 2006 - 2011 The OpenSDE Project
# Copyright (C) 2004 - 2006 The T2 SDE Project # Copyright (C) 2004 - 2006 The T2 SDE Project
# Copyright (C) 1998 - 2003 Clifford Wolf # Copyright (C) 1998 - 2003 Clifford Wolf
# #
@ -15,11 +15,7 @@
# --- SDE-COPYRIGHT-NOTE-END --- # --- SDE-COPYRIGHT-NOTE-END ---
if [ $prefix_auto = 1 ] ; then if [ $prefix_auto = 1 ] ; then
if [ "$SDECFG_PKG_POSTGRESQL_PREFIX" ] ; then
prefix="$SDECFG_PKG_POSTGRESQL_PREFIX"
else
prefix="opt/postgresql" prefix="opt/postgresql"
fi
set_confopt set_confopt
fi fi

Loading…
Cancel
Save