[Python-modules-commits] r16045 - in packages/python-restkit/trunk/debian (2 files)
takaki at users.alioth.debian.org
takaki at users.alioth.debian.org
Mon Mar 7 11:11:46 UTC 2011
Date: Monday, March 7, 2011 @ 11:11:16
Author: takaki
Revision: 16045
Added:
packages/python-restkit/trunk/debian/clean
packages/python-restkit/trunk/debian/python-restkit.preinst
Added: packages/python-restkit/trunk/debian/clean
===================================================================
--- packages/python-restkit/trunk/debian/clean (rev 0)
+++ packages/python-restkit/trunk/debian/clean 2011-03-07 11:11:16 UTC (rev 16045)
@@ -0,0 +1 @@
+restkit.egg-info/*
Added: packages/python-restkit/trunk/debian/python-restkit.preinst
===================================================================
--- packages/python-restkit/trunk/debian/python-restkit.preinst (rev 0)
+++ packages/python-restkit/trunk/debian/python-restkit.preinst 2011-03-07 11:11:16 UTC (rev 16045)
@@ -0,0 +1,14 @@
+#! /bin/sh
+
+set -e
+
+# This was added by stdeb to workaround Debian #479852. In a nutshell,
+# pycentral does not remove normally remove its symlinks on an
+# upgrade. Since we're using python-support, however, those symlinks
+# will be broken. This tells python-central to clean up any symlinks.
+if [ -e /var/lib/dpkg/info/python-restkit.list ] && which pycentral >/dev/null 2>&1
+then
+ pycentral pkgremove python-restkit
+fi
+
+#DEBHELPER#
More information about the Python-modules-commits
mailing list