[Python-apps-commits] r3488 - in packages/scribes/branches/experimental/debian (2 files)
pochu-guest at users.alioth.debian.org
pochu-guest at users.alioth.debian.org
Thu Aug 20 11:33:37 UTC 2009
Date: Thursday, August 20, 2009 @ 11:33:35
Author: pochu-guest
Revision: 3488
Switch to python-support, add preinst script to clean pycentral files.
Added:
packages/scribes/branches/experimental/debian/preinst
Modified:
packages/scribes/branches/experimental/debian/changelog
Modified: packages/scribes/branches/experimental/debian/changelog
===================================================================
--- packages/scribes/branches/experimental/debian/changelog 2009-08-20 11:32:15 UTC (rev 3487)
+++ packages/scribes/branches/experimental/debian/changelog 2009-08-20 11:33:35 UTC (rev 3488)
@@ -22,7 +22,7 @@
- Add "Copyright" to the packaging copyright note, and 2009 to the years.
- Point to GPL-2 rather than GPL.
* Port to debhelper 7
- * Switch to python-support.
+ * Switch to python-support, add preinst script to clean pycentral files.
* debian/manpages: install the manpage from here.
* Standards-Version is 3.8.1, no changes needed.
* debian/control: don't depend on python-gnome2-desktop/python-gnome2-extras
Added: packages/scribes/branches/experimental/debian/preinst
===================================================================
--- packages/scribes/branches/experimental/debian/preinst (rev 0)
+++ packages/scribes/branches/experimental/debian/preinst 2009-08-20 11:33:35 UTC (rev 3488)
@@ -0,0 +1,11 @@
+#!/bin/sh
+set -e
+
+if [ "$1" = upgrade ]
+then
+ if dpkg --compare-versions "$2" lt "0.3.3.3-5" ; then
+ pycentral pkgremove scribes
+ fi
+fi
+
+#DEBHELPER#
More information about the Python-apps-commits
mailing list