[Python-apps-commits] r2748 - in packages/gaupol/trunk/debian (changelog preinst)

piotr at users.alioth.debian.org piotr at users.alioth.debian.org
Tue Apr 14 21:48:04 UTC 2009


    Date: Tuesday, April 14, 2009 @ 21:48:02
  Author: piotr
Revision: 2748

add preinst

Added:
  packages/gaupol/trunk/debian/preinst
Modified:
  packages/gaupol/trunk/debian/changelog

Modified: packages/gaupol/trunk/debian/changelog
===================================================================
--- packages/gaupol/trunk/debian/changelog	2009-04-14 15:10:31 UTC (rev 2747)
+++ packages/gaupol/trunk/debian/changelog	2009-04-14 21:48:02 UTC (rev 2748)
@@ -1,4 +1,4 @@
-gaupol (0.14-1) UNRELEASED; urgency=low
+gaupol (0.14-1) unstable; urgency=low
 
   [ Sandro Tosi ]
   * Switch Vcs-Browser field to viewsvn
@@ -11,10 +11,11 @@
   * Install gaupol module in private directory
   * Install more docs; NEWS file as upstream changelog
   * Switch from python-central to python-support
+    + remove pycentral leftovers in preinst
   * Switch from CDBS to debhelper's command sequencer
   * Standards-Version bumped to 3.8.1 (no changes needed)
 
- -- Piotr Ożarowski <piotr at debian.org>  Mon, 13 Apr 2009 21:47:41 +0200
+ -- Piotr Ożarowski <piotr at debian.org>  Tue, 14 Apr 2009 23:37:22 +0200
 
 gaupol (0.13.1-1) unstable; urgency=low
 

Added: packages/gaupol/trunk/debian/preinst
===================================================================
--- packages/gaupol/trunk/debian/preinst	                        (rev 0)
+++ packages/gaupol/trunk/debian/preinst	2009-04-14 21:48:02 UTC (rev 2748)
@@ -0,0 +1,11 @@
+#!/bin/sh
+# TODO: remove this file after releasing Squeeze
+set -e
+if [ "$1" = upgrade ]
+then
+	if dpkg --compare-versions "$2" lt 0.14-1; then
+		pycentral pkgremove gaupol
+	fi
+fi
+
+#DEBHELPER#




More information about the Python-apps-commits mailing list