/[papo]/gnue/forms/packaging/debian/prerm
ViewVC logotype

Diff of /gnue/forms/packaging/debian/prerm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by charlie, Fri Jun 28 19:43:53 2002 UTC revision 1.2 by styxman, Thu Nov 14 22:16:52 2002 UTC
# Line 1  Line 1 
1  #! /bin/bash -e  #! /bin/sh -e
2  #  #
3  # Debian prerm script for Python x.y hierarchical modules  # sample prerm script for Debian python packages.
4  # Written by Gregor Hoffleit <flight@debian.org>  # Written 1998 by Gregor Hoffleit <flight@debian.org>.
 # Extended by Matthias Klose <doko@debian.org>  
5  #  #
6    
7  PACKAGE=`basename $0 | sed -e 's/\.[^.]*$//'`  PACKAGE=gnue-forms-wxgtk
 PV=`dpkg --listfiles $PACKAGE | sed -n -e '/^\/usr\/lib\/python.*\//{  
   s,/usr/lib/python\([0-9][0-9.]*\)/.*,\1,p  
   q  
 }'`  
8    
9  dpkg --listfiles $PACKAGE |  dpkg --listfiles $PACKAGE |
10          awk '$0~/\.py$/ {print $0"c\n" $0"o"}' |          awk '$0~/\.py$/ {print $0"c\n" $0"o"}' |

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26