2012-05-30 07:13:35 +08:00
|
|
|
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
|
2014-10-25 23:49:24 +08:00
|
|
|
|
|
|
|
if [ -x /usr/bin/install-info ]; then
|
2014-12-26 20:57:55 +08:00
|
|
|
chroot . /usr/bin/install-info --info-dir=/usr/info /usr/info/foxtrotgps.info.gz 2> /dev/null
|
2014-10-25 23:49:24 +08:00
|
|
|
fi
|