[Pkg-electronics-commits] [SCM] Packaging for gEDA branch, master, updated. debian/1%1.6.2-4-36-gb93f4ac

أحمد المحمو =?UTF-8?Q?=D8=AF=D9=8A=20?=(Ahmed El-Mahmoudy) aelmahmoudy at sabily.org
Sun Jan 20 20:50:37 UTC 2013


The following commit has been merged in the master branch:
commit db93a8e7cd63235b2183970c6934eeca509c7f7e
Author: أحمد المحمودي (Ahmed El-Mahmoudy) <aelmahmoudy at sabily.org>
Date:   Sun Jan 20 22:46:28 2013 +0200

    Manually replace directory with symlink in geda.postinst
    
    Closes: #694015
    Thanks: gregor herrmann <gregoa at debian.org>

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

-- 
Packaging for gEDA



More information about the Pkg-electronics-commits mailing list