diff options
author | David Spencer <baildon.research@googlemail.com> | 2014-02-04 23:54:28 +0700 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2014-02-08 11:10:10 -0600 |
commit | 4d6424552be8d526f8ee94d973e411b9401a9b67 (patch) | |
tree | 0a563d3401e81713175bbac3d29012d573fdec58 /gis/foxtrotgps/doinst.sh | |
parent | 3378af7d19b59e91ff6a781b44bc2b98247081a5 (diff) |
gis/foxtrotgps: Moved from Misc category.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'gis/foxtrotgps/doinst.sh')
-rw-r--r-- | gis/foxtrotgps/doinst.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/gis/foxtrotgps/doinst.sh b/gis/foxtrotgps/doinst.sh new file mode 100644 index 000000000000..4aaadb0bbf26 --- /dev/null +++ b/gis/foxtrotgps/doinst.sh @@ -0,0 +1,13 @@ +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 +} + +schema_install apps_foxtrotgps.schemas + +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 +fi |