#!/bin/sh

update-alternatives --install /usr/bin/x-window-manager x-window-manager /usr/bin/mbsession 10001

if [ -x /usr/bin/gconftool-2 ]
then
echo "Installing gconf schema"
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
gconftool-2 --makefile-install-rule /etc/gconf/schemas/matchbox.schemas > /dev/null
fi
exit 0