[Python-modules-commits] r27838 - in packages/logilab-astng/trunk/debian (2 files)

morph at users.alioth.debian.org morph at users.alioth.debian.org
Fri Feb 21 21:09:09 UTC 2014


    Date: Friday, February 21, 2014 @ 21:09:08
  Author: morph
Revision: 27838

* debian/python-logilab-astng.preinst
  - removed, no longer needed

Modified:
  packages/logilab-astng/trunk/debian/changelog
Deleted:
  packages/logilab-astng/trunk/debian/python-logilab-astng.preinst

Modified: packages/logilab-astng/trunk/debian/changelog
===================================================================
--- packages/logilab-astng/trunk/debian/changelog	2014-02-21 21:07:40 UTC (rev 27837)
+++ packages/logilab-astng/trunk/debian/changelog	2014-02-21 21:09:08 UTC (rev 27838)
@@ -3,8 +3,10 @@
   * debian/control
     - switch me to Maintainer (team to Uploaders)
   * Switch to dh_python2; addresses #739565
+  * debian/python-logilab-astng.preinst
+    - removed, no longer needed
 
- -- Sandro Tosi <morph at debian.org>  Fri, 21 Feb 2014 22:07:18 +0100
+ -- Sandro Tosi <morph at debian.org>  Fri, 21 Feb 2014 22:08:53 +0100
 
 logilab-astng (0.24.3-1) unstable; urgency=low
 

Deleted: packages/logilab-astng/trunk/debian/python-logilab-astng.preinst
===================================================================
--- packages/logilab-astng/trunk/debian/python-logilab-astng.preinst	2014-02-21 21:07:40 UTC (rev 27837)
+++ packages/logilab-astng/trunk/debian/python-logilab-astng.preinst	2014-02-21 21:09:08 UTC (rev 27838)
@@ -1,26 +0,0 @@
-#!/bin/sh
-# TODO: remove this file after releasing Squeeze
-set -e
-
-PYCENTRAL=/usr/bin/pycentral
-
-if [ "$1" = upgrade ]
-then
-       if dpkg --compare-versions "$2" lt 0.17.4-2 ; then
-	   if [ -x $PYCENTRAL ]; then
-               # explicitly remove old python-central files
-               pycentral pkgremove python-logilab-astng
-	   fi
-       fi  
-       # be really sure also removing left-over files and dirs
-       # we do outside the previous 'if' since first pysupport
-       # release was already distributed
-       for pyversion in 2.4 2.5; do
-           if [ -d /usr/lib/python$pyversion/site-packages/logilab/astng/ ]; then
-               rm -f /usr/lib/python$pyversion/site-packages/logilab/astng/*
-               rmdir --ignore-fail-on-non-empty /usr/lib/python$pyversion/site-packages/logilab/astng/
-           fi
-       done
-fi
-
-#DEBHELPER#




More information about the Python-modules-commits mailing list