Created
April 16, 2018 19:36
-
-
Save directhex/f3fc343d7c96f327ca5cd32a45eaccc9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment