~doko/python/pkg3.4-debian

« back to all changes in this revision

Viewing changes to PVER.prerm.in

  • Committer: Matthias Klose
  • Date: 2013-03-30 17:09:38 UTC
  • Revision ID: doko@ubuntu.com-20130330170938-0npd4e8aioare322
python3.3 (3.3.1~rc1-2) experimental; urgency=low

  * Fix byte-compiliation/-removal for the split-out library packages.
    LP: #1160944.

 -- Matthias Klose <doko@debian.org>  Sat, 30 Mar 2013 13:36:40 +0100

python3.3 (3.3.1~rc1-1) experimental; urgency=low

  * Python 3.3.1 release candidate 1.

 -- Matthias Klose <doko@debian.org>  Tue, 26 Mar 2013 10:45:37 +0100

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#! /bin/sh -e
 
1
#! /bin/sh
2
2
#
3
3
# prerm script for the Debian @PVER@-base package.
4
4
# Written 1998 by Gregor Hoffleit <flight@debian.org>.
5
5
#
6
6
 
 
7
set -e
 
8
 
7
9
remove_bytecode()
8
10
{
9
11
    pkg=$1
18
20
 
19
21
case "$1" in
20
22
    remove|upgrade)
21
 
        remove_bytecode @PVER@
 
23
        remove_bytecode lib@PVER@-stdlib
22
24
        oldlocalsite=/usr/local/lib/@PVER@/site-packages
23
25
        # issue #623057
24
26
        if [ -d $oldlocalsite -a ! -h $oldlocalsite ]; then