mirror of
https://fuchsia.googlesource.com/third_party/github.com/pylint-dev/pylint
synced 2024-09-21 07:58:04 +00:00
4becf6f9e5
forget the past.
25 lines
437 B
Bash
25 lines
437 B
Bash
#! /bin/sh -e
|
|
#
|
|
|
|
|
|
|
|
# precompile python files
|
|
VERSION=2.3
|
|
PACKAGEDIR=/usr/lib/site-python/pylint
|
|
case "$1" in
|
|
configure|abort-upgrade|abort-remove|abort-deconfigure)
|
|
python$VERSION -O /usr/lib/python$VERSION/compileall.py -q $PACKAGEDIR
|
|
python$VERSION /usr/lib/python$VERSION/compileall.py -q $PACKAGEDIR
|
|
;;
|
|
|
|
*)
|
|
echo "postinst called with unknown argument \`$1'" >&2
|
|
exit 1
|
|
;;
|
|
esac
|
|
|
|
|
|
#DEBHELPER#
|
|
|
|
exit 0
|