diff options
author | Alexis Christoforides <alexis@thenull.net> | 2019-06-17 20:50:48 +0300 |
---|---|---|
committer | Alexis Christoforides <alexis@thenull.net> | 2019-06-28 15:38:14 +0300 |
commit | feca91f7eb1b440a6520cf754370b98271339d1a (patch) | |
tree | 43b1a000837f079844203e3a23b96ee749d3ceb4 | |
parent | 06cf03994842c6972b0492a2aa9e08bf18c6a9b6 (diff) |
Improve robustness of post-install scriptmono-5.20.1.342018-10
We have several issues (e.g. https://github.com/mono/mono/issues/14181) where the installer occasionally fails in the postinstall script for unknown causes, on some hosts.
This seems to be sometimes the culpable section and this patch should help trace the issue or alleviate the common symptoms of it (see https://github.com/mono/mono/issues/14181)
-rwxr-xr-x | packaging/MacSDK/packaging/resources/postinstall | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/packaging/MacSDK/packaging/resources/postinstall b/packaging/MacSDK/packaging/resources/postinstall index 6ae12801a09..689fb5845d7 100755 --- a/packaging/MacSDK/packaging/resources/postinstall +++ b/packaging/MacSDK/packaging/resources/postinstall @@ -61,15 +61,15 @@ if [ -d ${FW_CURRENT} ]; then # Make sure we run the files we lay down, and not other stuff installed on the system export PATH="${FW_CURRENT}/bin:$PATH" # gtk+ setup - gdk-pixbuf-query-loaders --update-cache + gdk-pixbuf-query-loaders --update-cache > "${FW_CURRENT}/postinstall-gdk-pixbuf-query-loaders.log" 2>&1 || true # pango setup mkdir -p pango - pango-querymodules > pango/pango.modules - pango-querymodules --update-cache - fc-cache + pango-querymodules > pango/pango.modules 2> "${FW_CURRENT}/postinstall-pango-querymodules.log" || true + pango-querymodules --update-cache >> "${FW_CURRENT}/postinstall-pango-querymodules.log" 2>&1 || true + fc-cache > "${FW_CURRENT}/postinstall-fc-cache.log" 2>&1 || true cd ${FW_CURRENT}/lib/gtk-2.0/2.10.0 - gtk-query-immodules-2.0 > immodules.cache + gtk-query-immodules-2.0 > immodules.cache 2> "${FW_CURRENT}/gtk-query-immodules-2.0.log" || true fi # Delete older Monos |