diff options
author | Daniel Stone <daniels@collabora.com> | 2017-08-23 18:53:59 +0100 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gnome.org> | 2018-02-05 14:03:10 +0000 |
commit | a5363b9e5dea21226ee8224cb9c2e80a60c03dc6 (patch) | |
tree | 54019db4e8c30692661f11e0aa38262746e89b3c /build-aux | |
parent | 3b0e6720af4b92d900f0ee2dd8937b360ffbf052 (diff) | |
download | gtk+-a5363b9e5dea21226ee8224cb9c2e80a60c03dc6.tar.gz |
build: Create input method module cache directory
Before running gtk-query-immodules, the cache output directory may not
actually exist. Make sure it does before we try to write into it.
https://bugzilla.gnome.org/show_bug.cgi?id=793182
Signed-off-by: Daniel Stone <daniels@collabora.com>
Diffstat (limited to 'build-aux')
-rwxr-xr-x | build-aux/meson/post-install.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/build-aux/meson/post-install.sh b/build-aux/meson/post-install.sh index c7390fae9b..da564a5b29 100755 --- a/build-aux/meson/post-install.sh +++ b/build-aux/meson/post-install.sh @@ -17,5 +17,7 @@ if [ -z "$DESTDIR" ]; then gtk-update-icon-cache -q -t -f ${gtk_datadir}/icons/hicolor echo Updating input method modules cache... - gtk4-query-immodules > ${gtk_libdir}/gtk-${gtk_api_version}/${gtk_abi_version}/immodules.cache + gtk_imdir=${gtk_libdir}/gtk-${gtk_api_version}/${gtk_abi_version} + mkdir -p ${gtk_imdir} + gtk4-query-immodules > ${gtk_imdir}/immodules.cache fi |