[Python-apps-commits] r3968 - in packages/synopsis/trunk/debian (changelog synopsis.preinst)

chaica-guest at users.alioth.debian.org chaica-guest at users.alioth.debian.org
Fri Oct 16 23:00:13 UTC 2009


    Date: Friday, October 16, 2009 @ 23:00:08
  Author: chaica-guest
Revision: 3968

  * debian/synopsis.preinst
    - Use maintainer script to remove pycentral leftovers.

Added:
  packages/synopsis/trunk/debian/synopsis.preinst
Modified:
  packages/synopsis/trunk/debian/changelog

Modified: packages/synopsis/trunk/debian/changelog
===================================================================
--- packages/synopsis/trunk/debian/changelog	2009-10-16 19:54:18 UTC (rev 3967)
+++ packages/synopsis/trunk/debian/changelog	2009-10-16 23:00:08 UTC (rev 3968)
@@ -19,9 +19,11 @@
     - Fixed path to license: LGPL to LGPL-2.1
   * debian/synopsis-idl.copyright
     - - Fixed path to license: GPL to GPL-2
+  * debian/synopsis.preinst
+    - Use maintainer script to remove pycentral leftovers.
   * Added README.source for dpatch
 
- -- Carl Chenet <chaica at ohmytux.com>  Fri, 16 Oct 2009 21:48:49 +0200
+ -- Carl Chenet <chaica at ohmytux.com>  Sat, 17 Oct 2009 00:58:27 +0200
 
 synopsis (0.12-3) unstable; urgency=low
 

Added: packages/synopsis/trunk/debian/synopsis.preinst
===================================================================
--- packages/synopsis/trunk/debian/synopsis.preinst	                        (rev 0)
+++ packages/synopsis/trunk/debian/synopsis.preinst	2009-10-16 23:00:08 UTC (rev 3968)
@@ -0,0 +1,10 @@
+#!/bin/sh
+set -e
+
+if [ "$1" = upgrade ] && dpkg --compare-versions "$2" lt 0.12-4; then
+	pycentral pkgremove synopsis
+fi
+
+#DEBHELPER#
+
+exit 0




More information about the Python-apps-commits mailing list