diff options
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 |
commit | ec6e16b23dd4a92ee4fd7f12a083ab82bd211053 (patch) | |
tree | 7c1cf983eb2cd2b24af210882538433e008aed66 | |
parent | 846aa12590cea0c09dd7a64144057107f9c55b66 (diff) |
doinst.sh: Corrected glib-compile-schemas.
-rw-r--r-- | doinst.sh | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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 - |