#!/bin/bash

# Configure/Install all.

export ARG0=$0

POSTINST_DIR=${ARG0%/*}  # Delete trailing file name.
POSTINST_DIR=$( cd $POSTINST_DIR; pwd )
export POSTINST_DIR
pushd $POSTINST_DIR  > /dev/null

./setup_path.sh
./register_mime_types.sh
./install_icon_resource.sh
./install_menu.sh
#./install_icon_on_desktop.sh
./install_gconf_settings.sh
./install_moz_plugins.sh
./install_locale_files.sh
./install_fedora_selinux_workaround.sh
# Shouldn't be using system-wide symbolic link anymore.
./install_system_wide_sym_links_non_LSB.sh
./install_misc.sh

# TODO: There is no /usr/lib/mozilla/defaults/pref/ directory; 
#   so this is most likely not needed anymore. 
#   To find out what is the new mechanism.
# ./install_moz_prefs.sh


popd > /dev/null

