[Pkg-net-snmp-commits] [SCM] Git repository for pkg-net-snmp branch, master, updated. edfdd032767b89aa50b401b9fdb73fd5e022ab72

Hideki Yamane henrich at debian.org
Thu Apr 11 01:24:05 UTC 2013


The following commit has been merged in the master branch:
commit a98c94ceb87dd9d946415e44d66e593297bb9652
Author: David Prévot <taffit at debian.org>
Date:   Sun Nov 18 09:24:30 2012 -0400

    Imported Debian patch 5.4.3~dfsg-2.6

diff --git a/debian/changelog b/debian/changelog
index f16b294..3fcf33a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+net-snmp (5.4.3~dfsg-2.6) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * debian/libsnmp-perl.postinst: Fix directory to symlink upgrade in
+    postinst (closes: #692949)
+
+ -- David Prévot <taffit at debian.org>  Sun, 18 Nov 2012 09:24:30 -0400
+
 net-snmp (5.4.3~dfsg-2.5) unstable; urgency=medium
 
   * Non-maintainer upload by the Security Team.
diff --git a/debian/libsnmp-perl.postinst b/debian/libsnmp-perl.postinst
new file mode 100644
index 0000000..0a8ed40
--- /dev/null
+++ b/debian/libsnmp-perl.postinst
@@ -0,0 +1,14 @@
+#!/bin/sh
+set -e
+
+# Replace documentation directory with symlink
+docdir="/usr/share/doc/libsnmp-perl"
+if [ -d $docdir ] && [ ! -L $docdir ]; then
+    if rmdir $docdir 2>/dev/null; then
+        ln -sf libsnmp15 $docdir
+    fi
+fi
+
+#DEBHELPER#
+
+exit 0

-- 
Git repository for pkg-net-snmp



More information about the Pkg-net-snmp-commits mailing list