[Python-apps-commits] r7539 - in packages/mercurial/trunk/debian (2 files)

vicho-guest at users.alioth.debian.org vicho-guest at users.alioth.debian.org
Mon Sep 12 20:08:16 UTC 2011


    Date: Monday, September 12, 2011 @ 20:08:15
  Author: vicho-guest
Revision: 7539

Remove old code that deleted cruft from site-packages

Modified:
  packages/mercurial/trunk/debian/changelog
  packages/mercurial/trunk/debian/mercurial.postinst

Modified: packages/mercurial/trunk/debian/changelog
===================================================================
--- packages/mercurial/trunk/debian/changelog	2011-09-12 20:08:12 UTC (rev 7538)
+++ packages/mercurial/trunk/debian/changelog	2011-09-12 20:08:15 UTC (rev 7539)
@@ -1,8 +1,9 @@
 mercurial (1.9.2-1) unstable; urgency=low
 
   * New upstream release 1.9.2.
+  * Remove old code that removed cruft from site-packages
 
- -- Javi Merino <cibervicho at gmail.com>  Mon, 12 Sep 2011 20:46:39 +0100
+ -- Javi Merino <cibervicho at gmail.com>  Mon, 12 Sep 2011 20:55:12 +0100
 
 mercurial (1.9.1-2) unstable; urgency=low
 

Modified: packages/mercurial/trunk/debian/mercurial.postinst
===================================================================
--- packages/mercurial/trunk/debian/mercurial.postinst	2011-09-12 20:08:12 UTC (rev 7538)
+++ packages/mercurial/trunk/debian/mercurial.postinst	2011-09-12 20:08:15 UTC (rev 7539)
@@ -19,14 +19,6 @@
 
 case "$1" in
     configure)
-        # Fix for old packages not managing pyc files
-        for d in /usr/lib/python*/site-packages/mercurial /usr/lib/python*/site-packages/hgext ; do
-	    if [ -d "$d" ] ; then
-	        echo "Removing old python byte-compiled files in $d"
-	        rm -rf "$d"
-	    fi
-	done
-
 	for conffile in hgext.rc; do
 	  # Tell ucf that the file in /usr/share/mercurial is the latest maintainer
 	  # version, and let it handle how to manage the real configuration file in




More information about the Python-apps-commits mailing list