mirror of
https://fuchsia.googlesource.com/third_party/github.com/pylint-dev/pylint
synced 2024-09-21 16:19:21 +00:00
25 lines
437 B
Plaintext
25 lines
437 B
Plaintext
|
#! /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
|