r44374 - in /packages/ipe/trunk/debian: changelog ipe.preinst
smr at users.alioth.debian.org
smr at users.alioth.debian.org
Mon Jan 16 04:33:18 UTC 2012
Author: smr
Date: Mon Jan 16 04:33:17 2012
New Revision: 44374
URL: http://svn.debian.org/wsvn/debian-science/?sc=1&rev=44374
Log:
Remove old doc directory on upload, if exists.
Added:
packages/ipe/trunk/debian/ipe.preinst
Modified:
packages/ipe/trunk/debian/changelog
Modified: packages/ipe/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/debian-science/packages/ipe/trunk/debian/changelog?rev=44374&op=diff
==============================================================================
--- packages/ipe/trunk/debian/changelog (original)
+++ packages/ipe/trunk/debian/changelog Mon Jan 16 04:33:17 2012
@@ -1,3 +1,13 @@
+ipe (7.1.2-1) unstable; urgency=low
+
+ * New upstream.
+
+ * ipe.preinst: New. Remove old directory /usr/share/doc/ipe/doc if it
+ exists on upgrade. That path is now a symlink, but linking fails if
+ the directory is there. Closes: #654922.
+
+ -- Steve M. Robbins <smr at debian.org> Sun, 15 Jan 2012 22:33:06 -0600
+
ipe (7.1.1-1) unstable; urgency=low
* New upstream.
Added: packages/ipe/trunk/debian/ipe.preinst
URL: http://svn.debian.org/wsvn/debian-science/packages/ipe/trunk/debian/ipe.preinst?rev=44374&op=file
==============================================================================
--- packages/ipe/trunk/debian/ipe.preinst (added)
+++ packages/ipe/trunk/debian/ipe.preinst Mon Jan 16 04:33:17 2012
@@ -1,0 +1,12 @@
+#!/bin/sh
+set -e
+
+# Prior to version X, $docdir was a directory; now it is a symlink
+docdir=/usr/share/doc/ipe/doc
+
+
+if [ "$1" = "upgrade" ]; then
+ if [ -d $docdir ]; then rm -rf $docdir; fi
+fi
+
+#DEBHELPER#
More information about the debian-science-commits
mailing list