[pkg-bacula-commits] [bacula] 01/02: Removed unused code from bacula-director-db.postinst.in

Carsten Leonhardt leo at moszumanska.debian.org
Sun Aug 21 21:23:54 UTC 2016


This is an automated email from the git hooks/post-receive script.

leo pushed a commit to branch migrate-files
in repository bacula.

commit 9f9c94571c1a818eb870231c59a3feb148cbe84f
Author: Carsten Leonhardt <leo at debian.org>
Date:   Sun Aug 21 17:36:26 2016 +0200

    Removed unused code from bacula-director-db.postinst.in
---
 debian/TODO                           | 7 -------
 debian/bacula-director-db.postinst.in | 8 --------
 2 files changed, 15 deletions(-)

diff --git a/debian/TODO b/debian/TODO
index 0cad31c..17f59e1 100644
--- a/debian/TODO
+++ b/debian/TODO
@@ -41,10 +41,3 @@ Review unmerged old changes:
     d4676fc19978a0588bb09a58234cf451d15859d6 Don't set passwords at build time but ask for them
     aea2145a4f135fa6d18d33384a1af2c2bffc8617 Get rid of useless common-functions
  * migrate config files to ucf (git tag development/migrate-to-ucf-2012-06-07)
-
-Old:
-
-* Maybe:
-  
-  Remove old AUTHFILE=`getent passwd bacula | cut -d ':' -f 6`/.pgpass
-  and $AUTHFILE.bak
diff --git a/debian/bacula-director-db.postinst.in b/debian/bacula-director-db.postinst.in
index 3243512..9792b99 100644
--- a/debian/bacula-director-db.postinst.in
+++ b/debian/bacula-director-db.postinst.in
@@ -59,17 +59,9 @@ if [ -f /usr/share/dbconfig-common/dpkg/postinst.$THISDB ]; then
 	dbc_go bacula-director-$THISDB $@
 fi
 
-LOGDIR="/var/log/bacula"
 POSTINST_COMMON="/usr/share/bacula-director/postinst-common"
 DEFCONFIG="/usr/share/bacula-common/defconfig"
 CFGFILE="/etc/bacula/bacula-dir.conf"
-if [ $THISDB = pgsql ]; then
-	CATALOG=bacula
-	PGSQL=/usr/bin/psql
-	GRANT_SQL_PRIVS="/usr/share/bacula-director/grant_pgsql_privileges"
-	AUTHFILE=`getent passwd bacula | cut -d ':' -f 6`/.pgpass
-fi
-
 
 . /usr/share/bacula-common/common-functions.dpkg
 readOrCreatePasswords

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-bacula/bacula.git



More information about the pkg-bacula-commits mailing list