[pkg-fso-commits] [SCM] libphone-utils packaging branch, master, updated. upstream/0.1+git20110523-80-gce917b4
Sebastian Reichel
sre at ring0.de
Fri Dec 7 21:31:57 UTC 2012
The following commit has been merged in the master branch:
commit ce917b4e3c94fe55f7d924ff3a8593e7072fcec3
Author: Sebastian Reichel <sre at ring0.de>
Date: Fri Dec 7 22:31:51 2012 +0100
import NMU
diff --git a/debian/changelog b/debian/changelog
index f082782..61733d5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,21 @@
+libphone-utils (0.1+git20110523-1.2) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * debian/libphone-utils-dev.postinst: Fix directory to symlink upgrade in
+ postinst. (Closes: #687870)
+
+ -- David Prévot <taffit at debian.org> Thu, 27 Sep 2012 09:10:19 -0400
+
+libphone-utils (0.1+git20110523-1.1) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Fix "/usr/share/doc/libphone-utils0-dbg empty after squeeze->wheezy
+ upgrade": add libphone-utils0-dbg.preinst to remove directory before the
+ symlink is created.
+ (Closes: #684758)
+
+ -- gregor herrmann <gregoa at debian.org> Fri, 07 Sep 2012 16:52:01 +0200
+
libphone-utils (0.1+git20110523-1) unstable; urgency=low
[ Sebastian Reichel ]
diff --git a/debian/libphone-utils-dev.postinst b/debian/libphone-utils-dev.postinst
new file mode 100644
index 0000000..86d59ad
--- /dev/null
+++ b/debian/libphone-utils-dev.postinst
@@ -0,0 +1,14 @@
+#!/bin/sh
+set -e
+
+# Replace documentation directory with symlink
+docdir="/usr/share/doc/libphone-utils-dev"
+if [ -d $docdir ] && [ ! -L $docdir ]; then
+ if rmdir $docdir 2>/dev/null; then
+ ln -sf libphone-utils0 $docdir
+ fi
+fi
+
+#DEBHELPER#
+
+exit 0
diff --git a/debian/libphone-utils0-dbg.preinst b/debian/libphone-utils0-dbg.preinst
new file mode 100644
index 0000000..ed1a5bf
--- /dev/null
+++ b/debian/libphone-utils0-dbg.preinst
@@ -0,0 +1,19 @@
+#!/bin/sh
+
+set -e
+
+DOCDIR=/usr/share/doc/libphone-utils0-dbg
+
+case "$1" in
+ upgrade)
+ if dpkg --compare-versions "$2" lt "0.1+git20110523-1"; then
+ if [ ! -L $DOCDIR ]; then
+ rm -rf $DOCDIR
+ fi
+ fi
+ ;;
+ *)
+ ;;
+esac
+
+#DEBHELPER#
--
libphone-utils packaging
More information about the pkg-fso-commits
mailing list