Control: tags 688603 + patch
Control: tags 688604 + patch
Control: tags 688605 + patch
Control: tags 688606 + patch

Hi Kenshi

The attached debdiff should fix this issue and is following the
'standard' procedure on lastly discovered policy 12.5 violation bugs.

Do you have time to do the upload or are you fine with me doing a NMU
upload?

Regards,
Salvatore
diff -Nru mlterm-3.1.2/debian/changelog mlterm-3.1.2/debian/changelog
--- mlterm-3.1.2/debian/changelog	2012-09-08 16:18:20.000000000 +0200
+++ mlterm-3.1.2/debian/changelog	2012-09-27 19:09:47.000000000 +0200
@@ -1,3 +1,13 @@
+mlterm (3.1.2-1.2) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Replace documentation directory with symlink.
+    Replace the documentation directory for mlterm-im-m17nlib,
+    mlterm-im-scim, mlterm-im-uim and mlterm-tools with symlinks to
+    mlterm-common. (Closes: #688603, #688604, #688605, #688606)
+
+ -- Salvatore Bonaccorso <car...@debian.org>  Thu, 27 Sep 2012 19:09:37 +0200
+
 mlterm (3.1.2-1.1) unstable; urgency=low
 
   * Non-maintainer upload.
diff -Nru mlterm-3.1.2/debian/mlterm-im-m17nlib.postinst mlterm-3.1.2/debian/mlterm-im-m17nlib.postinst
--- mlterm-3.1.2/debian/mlterm-im-m17nlib.postinst	1970-01-01 01:00:00.000000000 +0100
+++ mlterm-3.1.2/debian/mlterm-im-m17nlib.postinst	2012-09-27 19:09:47.000000000 +0200
@@ -0,0 +1,18 @@
+#!/bin/sh
+
+set -e
+
+# Replace documentation directory with symlink
+docdir="/usr/share/doc/mlterm-im-m17nlib"
+if [ -d $docdir ] && [ ! -L $docdir ]; then
+    if rmdir $docdir 2>/dev/null; then
+        ln -sf mlterm-common $docdir
+    fi
+fi
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
diff -Nru mlterm-3.1.2/debian/mlterm-im-scim.postinst mlterm-3.1.2/debian/mlterm-im-scim.postinst
--- mlterm-3.1.2/debian/mlterm-im-scim.postinst	1970-01-01 01:00:00.000000000 +0100
+++ mlterm-3.1.2/debian/mlterm-im-scim.postinst	2012-09-27 19:09:47.000000000 +0200
@@ -0,0 +1,18 @@
+#!/bin/sh
+
+set -e
+
+# Replace documentation directory with symlink
+docdir="/usr/share/doc/mlterm-im-scim"
+if [ -d $docdir ] && [ ! -L $docdir ]; then
+    if rmdir $docdir 2>/dev/null; then
+        ln -sf mlterm-common $docdir
+    fi
+fi
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
diff -Nru mlterm-3.1.2/debian/mlterm-im-uim.postinst mlterm-3.1.2/debian/mlterm-im-uim.postinst
--- mlterm-3.1.2/debian/mlterm-im-uim.postinst	1970-01-01 01:00:00.000000000 +0100
+++ mlterm-3.1.2/debian/mlterm-im-uim.postinst	2012-09-27 19:09:47.000000000 +0200
@@ -0,0 +1,18 @@
+#!/bin/sh
+
+set -e
+
+# Replace documentation directory with symlink
+docdir="/usr/share/doc/mlterm-im-uim"
+if [ -d $docdir ] && [ ! -L $docdir ]; then
+    if rmdir $docdir 2>/dev/null; then
+        ln -sf mlterm-common $docdir
+    fi
+fi
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
diff -Nru mlterm-3.1.2/debian/mlterm-tools.postinst mlterm-3.1.2/debian/mlterm-tools.postinst
--- mlterm-3.1.2/debian/mlterm-tools.postinst	1970-01-01 01:00:00.000000000 +0100
+++ mlterm-3.1.2/debian/mlterm-tools.postinst	2012-09-27 19:09:47.000000000 +0200
@@ -0,0 +1,18 @@
+#!/bin/sh
+
+set -e
+
+# Replace documentation directory with symlink
+docdir="/usr/share/doc/mlterm-tools"
+if [ -d $docdir ] && [ ! -L $docdir ]; then
+    if rmdir $docdir 2>/dev/null; then
+        ln -sf mlterm-common $docdir
+    fi
+fi
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0

Attachment: signature.asc
Description: Digital signature

Reply via email to