aboutsummaryrefslogtreecommitdiff
path: root/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'doinst.sh')
-rw-r--r--doinst.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/doinst.sh b/doinst.sh
index 6696de5..b273b28 100644
--- a/doinst.sh
+++ b/doinst.sh
@@ -48,7 +48,8 @@ if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
fi
fi
-if [ -x /usr/bin/glib-compile-schemas ]; then
- /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas/
+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
-