[pkg-bacula-commits] [bacula] 01/02: import changes from nmu 5.2.6+dfsg-9.1

Alexander Golovko alexandro-guest at moszumanska.debian.org
Sat Jan 18 16:04:42 UTC 2014


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

alexandro-guest pushed a commit to branch master
in repository bacula.

commit cc2fa25547e63abd4854416843a7ca1320ecd556
Author: Alexander Golovko <alexandro at ankalagon.ru>
Date:   Sat Jan 18 20:00:45 2014 +0400

    import changes from nmu 5.2.6+dfsg-9.1
---
 debian/bacula.postinst | 36 ++++++++++++++++++++++++++++++++++++
 debian/changelog       |  7 +++++++
 2 files changed, 43 insertions(+)

diff --git a/debian/bacula.postinst b/debian/bacula.postinst
new file mode 100644
index 0000000..147fdcd
--- /dev/null
+++ b/debian/bacula.postinst
@@ -0,0 +1,36 @@
+#!/bin/sh
+
+set -e
+
+case "$1" in
+    configure)
+
+        DOCDIR=/usr/share/doc/bacula
+        DOCLINK=bacula-common
+
+        # cleanup on upgrade (http://bugs.debian.org/707803)
+        if [ -d $DOCDIR ] && [ ! -L $DOCDIR ]; then
+                rmdir $DOCDIR
+                ln -s $DOCLINK $DOCDIR
+        fi
+
+   ;;
+
+    abort-upgrade|abort-remove|abort-deconfigure)
+
+    ;;
+
+    *)
+        echo "postinst called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
+
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
diff --git a/debian/changelog b/debian/changelog
index 455a7b7..64df559 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+bacula (5.2.6+dfsg-9.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Fix doc symlink in bacula.postinst (Closes: 707803).
+
+ -- Ivo De Decker <ivo.dedecker at ugent.be>  Sat, 05 Oct 2013 22:42:35 +0200
+
 bacula (5.2.6+dfsg-9) unstable; urgency=low
 
   * debian/copyright:

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