r13341 - in /desktop/unstable/pygtk/debian: changelog python-gtk2-doc.postinst

joss at users.alioth.debian.org joss at users.alioth.debian.org
Thu Nov 1 00:40:03 UTC 2007


Author: joss
Date: Thu Nov  1 00:40:03 2007
New Revision: 13341

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=13341
Log:
* python-gtk2-doc.postinst: do the symbolic link dance, as the 
  symbolic link used to be a directory containing the documentation in 
  the split-out package. Closes: #445600.

Added:
    desktop/unstable/pygtk/debian/python-gtk2-doc.postinst
Modified:
    desktop/unstable/pygtk/debian/changelog

Modified: desktop/unstable/pygtk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/pygtk/debian/changelog?rev=13341&op=diff
==============================================================================
--- desktop/unstable/pygtk/debian/changelog (original)
+++ desktop/unstable/pygtk/debian/changelog Thu Nov  1 00:40:03 2007
@@ -1,3 +1,11 @@
+pygtk (2.12.0-2) UNRELEASED; urgency=low
+
+  * python-gtk2-doc.postinst: do the symbolic link dance, as the 
+    symbolic link used to be a directory containing the documentation in 
+    the split-out package. Closes: #445600.
+
+ -- Josselin Mouette <joss at debian.org>  Thu, 01 Nov 2007 01:38:53 +0100
+
 pygtk (2.12.0-1) unstable; urgency=low
 
   * New upstream release.

Added: desktop/unstable/pygtk/debian/python-gtk2-doc.postinst
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/pygtk/debian/python-gtk2-doc.postinst?rev=13341&op=file
==============================================================================
--- desktop/unstable/pygtk/debian/python-gtk2-doc.postinst (added)
+++ desktop/unstable/pygtk/debian/python-gtk2-doc.postinst Thu Nov  1 00:40:03 2007
@@ -1,0 +1,11 @@
+#!/bin/sh
+set -e
+
+olddir=/usr/share/doc/python-gtk2-doc/html
+newdir=../../gtk-doc/html/pygtk
+
+if [ -d $olddir ] && ! [ -L $olddir ]; then
+	rmdir --ignore-fail-on-non-empty $olddir && ln -s $newdir $olddir
+fi
+
+#DEBHELPER#




More information about the pkg-gnome-commits mailing list