aboutsummaryrefslogtreecommitdiff
path: root/doinst.sh
diff options
context:
space:
mode:
authorErik Hanson <erik@slackbuilds.org>2011-05-10 17:05:34 -0500
committerErik Hanson <erik@slackbuilds.org>2011-05-10 17:05:34 -0500
commitec6e16b23dd4a92ee4fd7f12a083ab82bd211053 (patch)
tree7c1cf983eb2cd2b24af210882538433e008aed66 /doinst.sh
parent846aa12590cea0c09dd7a64144057107f9c55b66 (diff)
doinst.sh: Corrected glib-compile-schemas.
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
-