Package: release.debian.org
Severity: normal
User: release.debian....@packages.debian.org
Usertags: unblock

Please unblock package ekg2

Policy violation Bug#685469, present in backports, is not automatically cleared
on upgrade to squeeze. This upload adds a cleanup step to the postinst script.

Bug is not RC because we don't officially support backports, but I still
consider this important.

--- ekg2-0.3.1/debian/changelog 2012-08-21 22:01:07.000000000 +0100
+++ ekg2-0.3.1/debian/changelog 2013-02-09 21:02:24.000000000 +0000
@@ -1,3 +1,14 @@
+ekg2 (1:0.3.1-3) unstable; urgency=medium
+
+  [ Andreas Beckmann ]
+  * Add ekg2.postinst script to perform the directory to symlink
+    transformation of /usr/share/doc/ekg2.  (Closes: #685469)
+
+  [ Marcin Owsiany ]
+  * important bug fix upload, aimed at testing
+
+ -- Marcin Owsiany <porri...@debian.org>  Sat, 09 Feb 2013 21:00:43 +0000
+
 ekg2 (1:0.3.1-2) unstable; urgency=medium
 
   * RC-bugfix upload aimed at testing
diff -Nru ekg2-0.3.1/debian/ekg2.postinst ekg2-0.3.1/debian/ekg2.postinst
--- ekg2-0.3.1/debian/ekg2.postinst     1970-01-01 01:00:00.000000000 +0100
+++ ekg2-0.3.1/debian/ekg2.postinst     2013-02-09 21:02:24.000000000 +0000
@@ -0,0 +1,15 @@
+#!/bin/sh
+set -e
+
+if [ "$1" = "configure" ]; then
+       docdir="/usr/share/doc/ekg2"
+       # /usr/share/doc/ekg2 was shipped as a directory in ekg2-core by
+       # mistake in 1:0.3.1-1 (#685469). dpkg does not fix this automatically
+       # on upgrades, we need to do it manually here.
+       if [ ! -L "$docdir" ] && [ -d "$docdir" ]; then
+               rmdir "$docdir"
+               ln -s "ekg2-core" "$docdir"
+       fi
+fi
+
+#DEBHELPER#

unblock ekg2/1:0.3.1-3

-- System Information:
Debian Release: squeeze/sid
  APT prefers lucid-updates
  APT policy: (600, 'lucid-updates'), (600, 'lucid-security'), (600, 'lucid'), 
(400, 'lucid-backports')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.38-16-generic (SMP w/4 CPU cores)
Locale: LANG=pl_PL.utf8, LC_CTYPE=pl_PL.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash


-- 
To UNSUBSCRIBE, email to debian-release-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130209215453.9939.40930.reportbug@beczulka

Reply via email to