doinst.sh 501 B

123456789101112131415161718
  1. schema_install() {
  2. SCHEMA="$1"
  3. GCONF_CONFIG_SOURCE="xml::etc/gconf/gconf.xml.defaults" \
  4. chroot . gconftool-2 --makefile-install-rule \
  5. /etc/gconf/schemas/$SCHEMA \
  6. 1>/dev/null
  7. }
  8. schema_install apps_foxtrotgps.schemas
  9. if [ -x /usr/bin/update-desktop-database ]; then
  10. /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
  11. fi
  12. if [ -x /usr/bin/install-info ]; then
  13. chroot . /usr/bin/install-info --info-dir=/usr/info /usr/info/foxtrotgps.info.gz 2> /dev/null
  14. fi