~ubuntu-branches/ubuntu/saucy/python2.7/saucy-proposed

« back to all changes in this revision

Viewing changes to debian/libPVER-stdlib.prerm.in

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2013-04-17 10:40:45 UTC
  • mfrom: (27.2.21 experimental)
  • Revision ID: package-import@ubuntu.com-20130417104045-odrk4ukqoo38lcjk
Tags: 2.7.4-2ubuntu1
* Set the platinclude dir back to the non-multiarch include path,
  where the multiarch pyconfig.h compatibility header is found.
* Fix issue #17703: Fix a regression where an illegal use of Py_DECREF()
  after interpreter finalization can cause a crash.
* Issue #17754, setting LANG and LC_ALL for the compiler call in ctypes/util.
* Issue #17761, platform._parse_release_file doesn't close the
  /etc/lsb-release file, and doesn't know about 'Ubuntu'.
* Fix autopkg tests.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#! /bin/sh
 
2
 
 
3
set -e
 
4
 
 
5
case "$1" in
 
6
    remove)
 
7
        dpkg -L lib@PVER@-stdlib \
 
8
            | awk '/\.py$/ {print $0"c\n" $0"o"}' \
 
9
            | xargs -r rm -f >&2
 
10
        ;;
 
11
    upgrade)
 
12
        ;;
 
13
    deconfigure)
 
14
        ;;
 
15
    failed-upgrade)
 
16
        ;;
 
17
    *)
 
18
        echo "prerm called with unknown argument \`$1'" >&2
 
19
        exit 1
 
20
    ;;
 
21
esac
 
22
 
 
23
#DEBHELPER#