r2679 - in zope.interface/trunk/debian (2 files)
arnau at users.alioth.debian.org
arnau at users.alioth.debian.org
Wed Sep 26 02:46:51 UTC 2012
Date: Wednesday, September 26, 2012 @ 02:46:50
Author: arnau
Revision: 2679
Properly handle upgrade from Squeeze of /usr/share/doc to a symlink. Closes: #687878.
Added:
zope.interface/trunk/debian/python-zope.interface-dbg.postinst
Modified:
zope.interface/trunk/debian/changelog
Modified: zope.interface/trunk/debian/changelog
===================================================================
--- zope.interface/trunk/debian/changelog 2012-09-26 00:24:08 UTC (rev 2678)
+++ zope.interface/trunk/debian/changelog 2012-09-26 02:46:50 UTC (rev 2679)
@@ -1,6 +1,9 @@
zope.interface (3.6.2-2) UNRELEASED; urgency=low
* debian/rules: make sure that building fails if any python command fails.
+ * debian/python-zope.interface-dbg.postinst:
+ + Properly handle upgrade from Squeeze of /usr/share/doc to a symlink.
+ Closes: #687878.
-- Arnaud Fontaine <arnau at debian.org> Wed, 26 Sep 2012 09:22:31 +0900
Added: zope.interface/trunk/debian/python-zope.interface-dbg.postinst
===================================================================
--- zope.interface/trunk/debian/python-zope.interface-dbg.postinst (rev 0)
+++ zope.interface/trunk/debian/python-zope.interface-dbg.postinst 2012-09-26 02:46:50 UTC (rev 2679)
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+set -e
+
+if [ "$1" = "configure" ]; then
+ DOC_DIR="/usr/share/doc/python-zope.interface-dbg"
+ if [ -d "$DOC_DIR" -a ! -L "$DOC_DIR" ] && rmdir "$DOC_DIR" 2> /dev/null; then
+ ln -sf /usr/share/doc/python-zope.interface "$DOC_DIR"
+ fi
+fi
+
+#DEBHELPER#
+
+exit 0
Property changes on: zope.interface/trunk/debian/python-zope.interface-dbg.postinst
___________________________________________________________________
Added: svn:executable
+ *
More information about the pkg-zope-developers
mailing list