[pkg-bacula-commits] [bacula] 01/01: always stop the director on configure action in postinst
Carsten Leonhardt
leo at moszumanska.debian.org
Sat Aug 15 11:32:25 UTC 2015
This is an automated email from the git hooks/post-receive script.
leo pushed a commit to branch master
in repository bacula.
commit 91becab826252d540e8115b69d70a62faece26cc
Author: Carsten Leonhardt <leo at debian.org>
Date: Sat Aug 15 13:32:02 2015 +0200
always stop the director on configure action in postinst
---
debian/bacula-director-db.postinst.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/debian/bacula-director-db.postinst.in b/debian/bacula-director-db.postinst.in
index 435b248..a9ad1a2 100644
--- a/debian/bacula-director-db.postinst.in
+++ b/debian/bacula-director-db.postinst.in
@@ -40,7 +40,7 @@ case "$THISDB" in
;;
esac
-if test "$1" = "configure" -a -n "$2" && dpkg --compare-versions "$2" lt "5.2.6+dfsg-1"; then
+if test "$1" = "configure" -a -n "$2"; then
invoke-rc.d bacula-director stop || true
fi
--
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