Control: tags -1 = pending

Hi Wesley,

Please find attached the patch that fixes the issue.
Works fine when I tested with the following upgrades:
 - 8.6.7-1 to 8.7.9-3
 - 8.6.9-2 to 8.7.9-3
 - 8.6.7-1 to 8.6.9-2 and then to 8.7.9-3
and also with a fresh install.

I've updated the git repo with this fix. It will be available in the
next release (8.7.9-3).
Thanks for pointing that issue out.

Best,
Joseph
diff --git a/debian/postinst b/debian/postinst
index 3370175..422ddab 100644
--- a/debian/postinst
+++ b/debian/postinst
@@ -75,3 +75,9 @@ if dpkg-maintscript-helper supports rm_conffile 2>/dev/null; then
   dpkg-maintscript-helper rm_conffile \
        /etc/asciidoc/wordpress.conf 8.6.9-1~ -- "$@"
 fi
+
+#Bug #747553
+if dpkg-maintscript-helper supports dir_to_symlink 2>/dev/null; then
+  dpkg-maintscript-helper dir_to_symlink \
+    /usr/share/asciidoc/images/icons /usr/share/asciidoc/icons 8.6.9-3~ -- "$@"
+fi
diff --git a/debian/postrm b/debian/postrm
index 3370175..422ddab 100644
--- a/debian/postrm
+++ b/debian/postrm
@@ -75,3 +75,9 @@ if dpkg-maintscript-helper supports rm_conffile 2>/dev/null; then
   dpkg-maintscript-helper rm_conffile \
        /etc/asciidoc/wordpress.conf 8.6.9-1~ -- "$@"
 fi
+
+#Bug #747553
+if dpkg-maintscript-helper supports dir_to_symlink 2>/dev/null; then
+  dpkg-maintscript-helper dir_to_symlink \
+    /usr/share/asciidoc/images/icons /usr/share/asciidoc/icons 8.6.9-3~ -- "$@"
+fi
diff --git a/debian/preinst b/debian/preinst
index 3370175..422ddab 100644
--- a/debian/preinst
+++ b/debian/preinst
@@ -75,3 +75,9 @@ if dpkg-maintscript-helper supports rm_conffile 2>/dev/null; then
   dpkg-maintscript-helper rm_conffile \
        /etc/asciidoc/wordpress.conf 8.6.9-1~ -- "$@"
 fi
+
+#Bug #747553
+if dpkg-maintscript-helper supports dir_to_symlink 2>/dev/null; then
+  dpkg-maintscript-helper dir_to_symlink \
+    /usr/share/asciidoc/images/icons /usr/share/asciidoc/icons 8.6.9-3~ -- "$@"
+fi

Reply via email to