slackbuilds_ponce/gis/foxtrotgps/doinst.sh
David Spencer 478fc82c33 gis/foxtrotgps: Fix doinst.sh.
Really stupid error in install-info :-(

Signed-off-by: David Spencer <baildon.research@googlemail.com>
2014-12-27 23:14:49 -06:00

17 lines
501 B
Bash

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
if [ -x /usr/bin/install-info ]; then
chroot . /usr/bin/install-info --info-dir=/usr/info /usr/info/foxtrotgps.info.gz 2> /dev/null
fi