postinst is in libmono-corlib4.5-cil 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/mscorlib.dll.so` -O=all /usr/lib/mono/4.5/mscorlib.dll > /dev/null 2>&1 || true
fi
# End automatically added section
|