[pkg-bacula-commits] [SCM] Bacula, a network backup, recovery and verification program branch, master, updated. debian/5.0.3-1-188-g83e100b

Luca Capello luca at pca.it
Wed Jun 13 10:08:10 UTC 2012


The following commit has been merged in the master branch:
commit 1f2ab345144d0d226ae08fbf942732c5641c944b
Author: Luca Capello <luca at pca.it>
Date:   Wed Jun 13 10:53:05 2012 +0200

    debian/bacula-director-common.bacula-director.init: DAEMON notice

diff --git a/debian/bacula-director-common.bacula-director.init b/debian/bacula-director-common.bacula-director.init
index 001cfab..fbc44a1 100644
--- a/debian/bacula-director-common.bacula-director.init
+++ b/debian/bacula-director-common.bacula-director.init
@@ -25,7 +25,10 @@ NAME="bacula-dir"
 PORT=9101
 DESC="Bacula Director"
 
-test -f $DAEMON || exit 0
+if [ ! -f $DAEMON ] ; then
+	echo "No bacula-director SQL package installed"
+	exit 0
+fi
 
 set -e
 
diff --git a/debian/changelog b/debian/changelog
index 29d4510..c0451db 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -128,6 +128,9 @@ bacula (5.2.6+dfsg-1) UNRELEASED; urgency=low
     + install upstream systemd service files.
   * debian/bacula-director-*.postinst:
     - remove path for sh call, thanks to lintian.
+  * debian/bacula-director-common.bacula-director.init:
+    + if the bacula-dir daemon is not found, notice the user that one of
+      the bacula-director-<dbtype> packages must be installed.
   * debian/bacula-traymonitor.install:
     + move bacula-tray-monitor to /usr/sbin/ as intended by upstream.
     + dh_install can not rename files, so the icon must be renamed in

-- 
Bacula, a network backup, recovery and verification program



More information about the pkg-bacula-commits mailing list