forked from AuroraMiddleware/gtk
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>
This commit is contained in:
parent
3b0e6720af
commit
a5363b9e5d
@ -17,5 +17,7 @@ if [ -z "$DESTDIR" ]; then
|
|||||||
gtk-update-icon-cache -q -t -f ${gtk_datadir}/icons/hicolor
|
gtk-update-icon-cache -q -t -f ${gtk_datadir}/icons/hicolor
|
||||||
|
|
||||||
echo Updating input method modules cache...
|
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
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user