make install script compile the locally installed schema

This commit is contained in:
Olaf Leidinger 2013-05-22 08:19:11 +02:00
parent a7efce596d
commit 1c89f7243a

View File

@ -24,6 +24,7 @@ $SUDO cp *.js *.json "$INST_DIR"
if [ "$1" != "global" ]; then if [ "$1" != "global" ]; then
$SUDO cp -ax *.svg schemas "$INST_DIR" $SUDO cp -ax *.svg schemas "$INST_DIR"
glib-compile-schemas "$INST_DIR"/schemas
else else
echo "Installing schema" echo "Installing schema"
$SUDO cp schemas/*.xml /usr/share/glib-2.0/schemas/ && \ $SUDO cp schemas/*.xml /usr/share/glib-2.0/schemas/ && \