system/gnome-commander: Compile glib schemas in doinst.sh.

Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
Sebastien Ballet 2017-01-11 17:41:18 +01:00 committed by Willy Sudiarto Raharjo
parent 562ec16d72
commit 3bd563f529
No known key found for this signature in database
GPG key ID: 887B8374D7333381

View file

@ -1,3 +1,9 @@
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
if [ -e usr/share/glib-2.0/schemas ]; then
if [ -x /usr/bin/glib-compile-schemas ]; then
/usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas >/dev/null 2>&1
fi
fi