summaryrefslogtreecommitdiff
path: root/system/gnome-commander
diff options
context:
space:
mode:
authorSebastien Ballet <slacker6896@gmail.com>2017-01-11 17:41:18 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-01-15 06:35:24 +0700
commit3bd563f5290fdbc191268d20a6c4e783a72e7481 (patch)
treed17faa8dc0438c75b16a7353731a376bf2502eb0 /system/gnome-commander
parent562ec16d7254e2368bfd403a119bae7ffea94f9a (diff)
downloadslackbuilds-3bd563f5290fdbc191268d20a6c4e783a72e7481.tar.gz
system/gnome-commander: Compile glib schemas in doinst.sh.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'system/gnome-commander')
-rw-r--r--system/gnome-commander/doinst.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/system/gnome-commander/doinst.sh b/system/gnome-commander/doinst.sh
index 5fb28930db..6fa145a19f 100644
--- a/system/gnome-commander/doinst.sh
+++ b/system/gnome-commander/doinst.sh
@@ -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