Index: installers/debian/dotlrn/postinst =================================================================== RCS file: /usr/local/cvsroot/installers/debian/dotlrn/postinst,v diff -u -r1.8 -r1.9 --- installers/debian/dotlrn/postinst 18 Sep 2008 18:29:35 -0000 1.8 +++ installers/debian/dotlrn/postinst 23 Sep 2008 15:34:31 -0000 1.9 @@ -39,7 +39,7 @@ db_get dotlrn/dbu_password dbu_password="$RET" - + db_get dotlrn/pg_grant_access if [ ! -z "$RET" ]; then grant_access="$RET" @@ -133,8 +133,8 @@ fi # Delete all lines between ## dotLRN ... ## and ########### from previous configurations. # Insert connection line after the first local connection line (the postgres user connection line). - sed -i "/^## dotLRN package debconf changes (DO NOT EDIT BYHAND) ##/,/^#########################################################/d;1,/^local/{ - /^local/a ## dotLRN package debconf changes (DO NOT EDIT BYHAND) ##\nlocal dotlrn $dbu_name $pg_conn_method\n######################################################### + sed -i "/^## dotLRN package debconf changes (DO NOT EDIT BYHAND) ##/,/^##########################################################/d;1,/^local/{ + /^local/a ## dotLRN package debconf changes (DO NOT EDIT BYHAND) ##\nlocal dotlrn $dbu_name $pg_conn_method\n########################################################## } " $pg_hba_file # 4-Reload postgresql conf