Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[2019-02] Improve robustness of post-install script #15242

Merged
merged 1 commit into from Jun 19, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10 changes: 5 additions & 5 deletions packaging/MacSDK/packaging/resources/postinstall
Expand Up @@ -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
Expand Down