Followup-For: Bug #694015

Hi,

On Monday, 21. January 2013 10:34:37 Bdale Garbee wrote:
> so no, I don't really agree that it would be better to have no geda-gaf
> than to have 1.6 in wheezy.

On Monday, 21. January 2013 11:22:27 Bdale Garbee wrote:
> أحمد المحمودي <[email protected]> writes:
> > Bdale, I've added gregoa's patch & pushed to git. Please upload.
>
> Done.  debian/1.8.1-2 uploaded, tagged, and pushed.

Well, wanting to keep (and fix) RC-buggy geda 1.6 in wheezy and
uploading a new upstream to unstable (currently stuck in NEW) contradict
each other.

I have prepared a NMU 1:1.6.2-4.3 cherry-picking gregoa's patch.
Once that has passed my piuparts tests I'll upload it to DELAYED/2.
Patch attached.

What can be done to block/cancel/reroute-to-experimental the 1.8.x
packages currently in NEW? This would allow getting this fix via sid
and avoiding the t-p-u road.


Andreas
diff --git a/debian/changelog b/debian/changelog
index ce3fd25..f0ad9a9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+geda-gaf (1:1.6.2-4.3) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Manually replace directory with symlink in geda.postinst.
+    Thanks to gregor herrmann <[email protected]> (Closes: #694015)
+
+ -- Andreas Beckmann <[email protected]>  Sun, 27 Jan 2013 15:17:05 +0100
+
 geda-gaf (1:1.6.2-4.2) unstable; urgency=low
 
   * Non-maintainer upload.
diff --git a/debian/geda.postinst b/debian/geda.postinst
new file mode 100644
index 0000000..e231653
--- /dev/null
+++ b/debian/geda.postinst
@@ -0,0 +1,17 @@
+#!/bin/sh
+
+set -e
+
+# Replace documentation directory with symlink
+docdir=/usr/share/doc/geda
+target=geda-doc
+
+if [ -d $docdir ] && [ ! -L $docdir ]; then
+       if rmdir $docdir 2>/dev/null; then
+               ln -sf $target $docdir
+       fi
+fi
+
+#DEBHELPER#
+
+exit 0

Reply via email to