postinst is in python3-minimal 3.6.5-3.
This file is a maintainer script. It is executed when installing (*inst) or removing (*rm) the package.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 | #! /bin/sh
set -e
if which py3compile >/dev/null 2>&1; then
py3compile -p python3-minimal /usr/share/python3/
fi
|