From 09cc145b8bd877966f5efe739597d6338ab2d1a4 Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Fri, 27 Feb 2015 09:57:24 +0100 Subject: configury: add NAME_DEFAULT_PREV_SERVICE variable We may want to configure postgresql-setup to upgrade from SCL version of PostgreSQL, which needs to read 'postgresql92-postgresq' service files. Defaults to 'postgresql'. * configure.ac (NAME_DEFAULT_PREV_SERVICE): New configure var. * postgresql-setup.in ($option_upgradefrom): Default to NAME_DEFAULT_PREV_SERVICE contents. --- postgresql-setup.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'postgresql-setup.in') diff --git a/postgresql-setup.in b/postgresql-setup.in index fc377ff..e0c3184 100644 --- a/postgresql-setup.in +++ b/postgresql-setup.in @@ -22,7 +22,7 @@ SU_POSTGRES="@SU_POSTGRES@" PGPORT_DEF=5432 # We upgrade by default from system's default PostgreSQL installation -option_upgradefrom="postgresql" +option_upgradefrom="@NAME_DEFAULT_PREV_SERVICE@" USAGE_STRING=$"\ Usage: $0 MODE_OPTION [--unit=UNIT_NAME] [OPTION...] -- cgit