[Dbconfig-common-changes] [dbconfig-common] r224 - trunk/dpkg

Sean Finney seanius at costa.debian.org
Wed May 24 17:28:06 UTC 2006


Author: seanius
Date: 2006-05-24 17:28:06 +0000 (Wed, 24 May 2006)
New Revision: 224

Modified:
   trunk/dpkg/config
Log:
fix related to the postgres default auth method

Modified: trunk/dpkg/config
===================================================================
--- trunk/dpkg/config	2006-05-24 16:21:29 UTC (rev 223)
+++ trunk/dpkg/config	2006-05-24 17:28:06 UTC (rev 224)
@@ -271,9 +271,9 @@
 			db_get $dbc_package/pgsql/authmethod-admin
 			authmethod_admin="$RET"
 			# default the user auth method to the admin method
-			# ...but only if they haven't set one already
-			if [ ! "$dbc_authmethod_user" ]; then
-				db_set $dbc_package/pgsql/authmethod-user "$authmethod_admin"
+			# ...but only if the default isn't already specified.
+			if [ ! "$dbc_default_authmethod_user" ]; then
+				db_subst $dbc_package/pgsql/authmethod-user default_authmethod_user "$authmethod_admin"
 			fi
 			db_input medium $dbc_package/pgsql/authmethod-user || true
 		fi




More information about the Dbconfig-common-changes mailing list