diff options
author | Nishant Limbachia <nishant@mnspace.net> | 2016-08-27 01:15:48 +0700 |
---|---|---|
committer | David Spencer <idlemoor@slackbuilds.org> | 2016-08-28 00:22:40 +0100 |
commit | b47d2963bfc90a0990e410b317903bf43cb1117c (patch) | |
tree | d81c5e88ccd2e8f1ab96ced741cf8d9f0720cb4f /graphics/simple-scan/doinst.sh | |
parent | 7ce92b77f65ced460ee1ab0db29add4f4e995ffb (diff) | |
download | slackbuilds-b47d2963bfc90a0990e410b317903bf43cb1117c.tar.gz |
graphics/simple-scan: Aded (simple scanning utility).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics/simple-scan/doinst.sh')
-rw-r--r-- | graphics/simple-scan/doinst.sh | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/graphics/simple-scan/doinst.sh b/graphics/simple-scan/doinst.sh index e123fd7296..ed2846092a 100644 --- a/graphics/simple-scan/doinst.sh +++ b/graphics/simple-scan/doinst.sh @@ -1,11 +1,3 @@ -schema_install() { - SCHEMA="$1" - GCONF_CONFIG_SOURCE="xml::etc/gconf/gconf.xml.defaults" \ - chroot . gconftool-2 --makefile-install-rule \ - /etc/gconf/schemas/$SCHEMA \ - 1>/dev/null -} - if [ -x /usr/bin/update-desktop-database ]; then /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 fi @@ -20,4 +12,8 @@ if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then fi fi - +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 |