File: postinst

package info (click to toggle)
python3-profiler 3.1.3-1
  • links: PTS
  • area: non-free
  • in suites: squeeze
  • size: 88 kB
  • ctags: 113
  • sloc: python: 893; makefile: 47; sh: 16
file content (16 lines) | stat: -rw-r--r-- 237 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#! /bin/sh

set -e

if [ "$1" = configure ]; then
    d=$PWD
    for v in 3.1; do
	if which python$v >/dev/null 2>&1; then
	    cd /usr/lib/python$v
	    python$v py_compile.py profile.py pstats.py
	fi
    done
    cd $d
fi

#DEBHELPER#