Add ||true to AOT postinst, to prevent install failure on architectures like s390x without AOT.
Former-commit-id: 8882ab86512e304a6ce367a860f46660f003ec15
This commit is contained in:
parent
838968cd43
commit
372bfe48fb
2
debian/postinst-monoaot
vendored
2
debian/postinst-monoaot
vendored
@ -2,5 +2,5 @@ if [ "$1" = "configure" ]
|
||||
then
|
||||
MONOARCH=`mono --version | grep Architecture | sed 's/.*: //'`
|
||||
mkdir -p /usr/lib/mono/aot-cache/${MONOARCH}/
|
||||
/usr/bin/mono --aot=outfile=/usr/lib/mono/aot-cache/${MONOARCH}/`basename #FILE#.so` -O=all,shared #FILE# > /dev/null 2>&1
|
||||
/usr/bin/mono --aot=outfile=/usr/lib/mono/aot-cache/${MONOARCH}/`basename #FILE#.so` -O=all,shared #FILE# > /dev/null 2>&1 || true
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user