[pkg-bacula-devel] Bug#707803: bacula: copyright file missing after upgrade (policy 12.5)

Ivo De Decker ivo.dedecker at ugent.be
Sat Oct 5 21:11:20 UTC 2013


Control: tags -1 pending patch

Dear maintainer,

On Sat, May 11, 2013 at 01:10:46PM +0200, Andreas Beckmann wrote:
> After the upgrade /usr/share/doc/$PACKAGE/ is just an empty directory.

I uploaded an NMU to delayed/2 which fixes this issue.

The debdiff is attached.

Cheers,

Ivo
-------------- next part --------------
diff -Nru bacula-5.2.6+dfsg/debian/bacula.postinst bacula-5.2.6+dfsg/debian/bacula.postinst
--- bacula-5.2.6+dfsg/debian/bacula.postinst	1970-01-01 01:00:00.000000000 +0100
+++ bacula-5.2.6+dfsg/debian/bacula.postinst	2013-10-05 22:42:45.000000000 +0200
@@ -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 -Nru bacula-5.2.6+dfsg/debian/changelog bacula-5.2.6+dfsg/debian/changelog
--- bacula-5.2.6+dfsg/debian/changelog	2013-04-23 23:56:14.000000000 +0200
+++ bacula-5.2.6+dfsg/debian/changelog	2013-10-05 22:42:45.000000000 +0200
@@ -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:


More information about the pkg-bacula-devel mailing list