summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Prévot <taffit@debian.org>2012-11-18 09:24:30 -0400
committerHideki Yamane <henrich@debian.org>2013-04-11 10:21:24 +0900
commita98c94ceb87dd9d946415e44d66e593297bb9652 (patch)
tree3baae2751e6e410fb922a9e0657d997365a14eb8
parent821d78cce0c0127c4540d1d3c4505f59ce71bb33 (diff)
downloadpkg-net-snmp-a98c94ceb87dd9d946415e44d66e593297bb9652.tar.gz
Imported Debian patch 5.4.3~dfsg-2.6debian/5.4.3_dfsg-2.6
-rw-r--r--debian/changelog8
-rw-r--r--debian/libsnmp-perl.postinst14
2 files changed, 22 insertions, 0 deletions
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@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