From ec6e16b23dd4a92ee4fd7f12a083ab82bd211053 Mon Sep 17 00:00:00 2001 From: Erik Hanson Date: Tue, 10 May 2011 17:05:34 -0500 Subject: doinst.sh: Corrected glib-compile-schemas. --- doinst.sh | 7 ++++--- 1 file 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 - -- cgit v1.2.3