diff options
author | Sebastien Ballet <slacker6896@gmail.com> | 2017-01-11 17:42:27 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-01-15 06:35:25 +0700 |
commit | 4c2d77731195538e870950223b474a4cebd34b3c (patch) | |
tree | 7de45781f842442ecd766a9f5571c7849ea66b19 /desktop/glabels | |
parent | 3bd563f5290fdbc191268d20a6c4e783a72e7481 (diff) |
desktop/glabels: Compile glib schemas in doinst.sh.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'desktop/glabels')
-rw-r--r-- | desktop/glabels/doinst.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/desktop/glabels/doinst.sh b/desktop/glabels/doinst.sh index aea0f894eb32b..f25bed6fb6698 100644 --- a/desktop/glabels/doinst.sh +++ b/desktop/glabels/doinst.sh @@ -11,3 +11,9 @@ if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1 fi 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 |