diff --git a/makegtkruntime.sh.in b/makegtkruntime.sh.in index 39f27c4..b525cf0 100644 --- a/makegtkruntime.sh.in +++ b/makegtkruntime.sh.in @@ -101,13 +101,19 @@ copy_locale $TEMPFILE mkdir -p $TARGET_PATH/share/glib-2.0/schemas if [ "$?" != 0 ]; then - echo "Can´t create schemas folder" - exit -1 + echo "Can´t create schemas folder" + exit -1 fi + +if [ ! -e $GTK_PREFIX/share/glib-2.0/schemas/gschemas.compiled ]; then + pushd $GTK_PREFIX/share/glib-2.0/schemas + glib-compile-schemas . + popd +fi cp $GTK_PREFIX/share/glib-2.0/schemas/gschemas.compiled $TARGET_PATH/share/glib-2.0/schemas/gschemas.compiled if [ "$?" != 0 ]; then - echo "Can´t copy gshemars.compiled" + echo "Can´t copy gshemas.compiled" exit -1 fi -- libgit2 0.21.2