postinst is in mono-mcs 4.6.2.7+dfsg-1ubuntu1.
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 | #!/bin/sh
set -e
# Automatically added by dh_monoaot
if [ "$1" = "configure" ]
then
MONOARCH=`mono --version | grep Architecture | sed 's/.*: //' | sed 's/el,.*//'`
mkdir -p /usr/lib/mono/aot-cache/${MONOARCH}/
/usr/bin/mono --aot=outfile=/usr/lib/mono/aot-cache/${MONOARCH}/`basename /usr/lib/mono/4.5/mcs.exe.so` -O=all /usr/lib/mono/4.5/mcs.exe > /dev/null 2>&1 || true
fi
# End automatically added section
|