[pkg-bacula-commits] [bacula] 01/01: skip old check for unsafe passwords if bacula-dir.conf doesn't pre-exist

Carsten Leonhardt leo at moszumanska.debian.org
Tue May 31 12:07:50 UTC 2016


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

leo pushed a commit to branch master
in repository bacula.

commit 4615db6004d1db11bf8942cd2dd9d722d9cdabeb
Author: Carsten Leonhardt <leo at debian.org>
Date:   Tue May 31 14:07:04 2016 +0200

    skip old check for unsafe passwords if bacula-dir.conf doesn't pre-exist
---
 debian/additions/common-functions.dpkg | 4 ++++
 debian/changelog                       | 7 +++++++
 2 files changed, 11 insertions(+)

diff --git a/debian/additions/common-functions.dpkg b/debian/additions/common-functions.dpkg
index f19b561..c6c9b9f 100644
--- a/debian/additions/common-functions.dpkg
+++ b/debian/additions/common-functions.dpkg
@@ -235,6 +235,10 @@ check_and_fix_unsafe_director_password()
 {
   local PACKAGE REGEX
 
+  if [ ! -f /etc/bacula/bacula-dir.conf ]; then
+    return 0
+  fi
+
   PACKAGE="$1"
 
   #
diff --git a/debian/changelog b/debian/changelog
index 510b5d7..a32e430 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+bacula (7.4.0.a~dfsg-2) unstable; urgency=medium
+
+  * skip old check for unsafe passwords if bacula-dir.conf doesn't
+    pre-exist
+
+ --
+
 bacula (7.4.0.a~dfsg-1) unstable; urgency=medium
 
   * Upstream bug fix release 7.4.0a from git

-- 
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