summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Erik Hanson <erik@slackbuilds.org>2011-05-10 17:05:34 -0500
committer Erik Hanson <erik@slackbuilds.org>2011-05-10 17:05:34 -0500
commitec6e16b23dd4a92ee4fd7f12a083ab82bd211053 (patch)
tree7c1cf983eb2cd2b24af210882538433e008aed66
parent846aa12590cea0c09dd7a64144057107f9c55b66 (diff)
downloadtemplates-ec6e16b23dd4a92ee4fd7f12a083ab82bd211053.tar.gz
templates-ec6e16b23dd4a92ee4fd7f12a083ab82bd211053.tar.xz
doinst.sh: Corrected glib-compile-schemas.
-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
-