postinst is in binfmtc 0.17-2.
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 7 8 9 10 11 | #! /bin/sh
#import binfmt.
if [ configure = "$1" -a -x /usr/sbin/update-binfmts ]; then
/usr/sbin/update-binfmts --import ccompile
/usr/sbin/update-binfmts --import cxxcompile
/usr/sbin/update-binfmts --import asmassembly
/usr/sbin/update-binfmts --import gcjcompile
/usr/sbin/update-binfmts --import fcompile
/usr/sbin/update-binfmts --import f95compile
fi
|