From 372bfe48fb7db6edc02d5a21db6fd504ee99e84b Mon Sep 17 00:00:00 2001 From: Jo Shields Date: Wed, 21 Jan 2015 16:23:37 +0000 Subject: [PATCH] Add ||true to AOT postinst, to prevent install failure on architectures like s390x without AOT. Former-commit-id: 8882ab86512e304a6ce367a860f46660f003ec15 --- debian/postinst-monoaot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/postinst-monoaot b/debian/postinst-monoaot index 88ac5ad2e1..ae6eeab936 100644 --- a/debian/postinst-monoaot +++ b/debian/postinst-monoaot @@ -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